Skip to content

Resource leak #3729

@lcaouen

Description

@lcaouen

If a PV is added without a prefix, then the release function in the PVPool doesn't find it and does not release it.

Java classes concerned
src/main/java/org/phoebus/pv/PVPool.java

Add (no prefix)
PVPool.createPV(name : my_pv, base_name : my_pv)

Remove (using prefix)
PVPool.releasePV(pv : loc://my_pv)

@shroffk :

@katysaintin has tried to correct this issue in this branch : master...katysaintin:phoebus:pv-local

There is a demo to reproduce it : https://drive.google.com/file/d/1Jwsb5x2lDna1FOe3_x1T80BC68Bxyqxa/view?usp=drive_link

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions