Ticket #48107: patch-pyvisa-legacy-visa.py.diff
File patch-pyvisa-legacy-visa.py.diff, 414 bytes (added by joshuacookebarnes@…, 9 years ago) |
---|
-
pyvisa/legacy/visa.py
old new 180 180 181 181 def _destroy_resource_manager(closefun=vpp43.close): 182 182 # delete self-reference for clean finishing 183 closefun(resource_manager.vi) 183 if resource_manager is not None: 184 closefun(resource_manager.vi) 184 185 185 186 186 187 atexit.register(_destroy_resource_manager)