Skip to content

Close the detector safely#24

Open
fogmaze wants to merge 2 commits intosurendramaran:mainfrom
fogmaze:main
Open

Close the detector safely#24
fogmaze wants to merge 2 commits intosurendramaran:mainfrom
fogmaze:main

Conversation

@fogmaze
Copy link

@fogmaze fogmaze commented Mar 30, 2025

While i was using the detector in other project, it would crash if i execute close() and detect() at the same time. Thus, I added a lock and check if the interpreter is still availible.

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

Successfully merging this pull request may close these issues.

1 participant