We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Given that the close() method calls __clock.cancel(), if crashes if a clock was not initialized.
This simple patch is working for me :
diff --git a/lib/StupidArtnet.py b/lib/StupidArtnet.py index 10b92d8..c26ae22 100644 --- a/lib/StupidArtnet.py +++ b/lib/StupidArtnet.py @@ -133,7 +133,10 @@ class StupidArtnet(): def stop(self): """Stops thread clock.""" - self.__clock.cancel() + try: + self.__clock.cancel() + except: + pass ## # SETTERS - HEADER
The text was updated successfully, but these errors were encountered:
thank you fixed as suggested #5
Sorry, something went wrong.
No branches or pull requests
Given that the close() method calls __clock.cancel(), if crashes if a clock was not initialized.
This simple patch is working for me :
The text was updated successfully, but these errors were encountered: