-
-
Notifications
You must be signed in to change notification settings - Fork 242
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moves list_resources to the library and call it from resource manager
PyVISA was leaking memory because a resource was not properly closed. Until this commit, `list_resources` was implemented in the ResourceManager and called `find_resources` and `find_next` in the library. This design is flawed because different backends might implement this differently. Moreover, it required all backends to implement `find_resources` and `find_next` instead of more direct code. See #135
- Loading branch information
Showing
2 changed files
with
32 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters