Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When cleanup is not called, list_available_devices doesn't return #27

Open
DoronRaifman opened this issue Jun 11, 2019 · 0 comments
Open

Comments

@DoronRaifman
Copy link

If application exits without calling _cleanup(), next application run, will hang on call to _load_library() or to list_available_devices().

In core:
@atexit.register
def _cleanup():
This will never be called upon pycharm stop or ^C.

When calling _cleanup(), all is working fine.

Pycharm shutdown all open ports and dll properly when hitting stop (debug).
It turns out that the apt.dll does not handle exit properly.

Please advise

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant