Skip to content
Snippets Groups Projects
Commit 1eadf0ac authored by Emanuele Laface's avatar Emanuele Laface
Browse files

Tentative to fix memory leak

parent f9b984cd
No related branches found
No related tags found
No related merge requests found
Pipeline #63799 passed
......@@ -38,9 +38,10 @@ async def get_pv(pvlist: str):
result = {}
for pv in pvs:
result[pv.pvname] = pv._args
if pv.connected:
pv.clear_auto_monitor()
pv.disconnect()
pv.clear_auto_monitor()
pv.clear_callbacks()
pv.disconnect()
del pvs
return result
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment