mirror of
https://github.com/stoatchat/python-client-sdk.git
synced 2026-07-21 18:15:28 -04:00
When using exit(), you get an error #10
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @4444dogs on GitHub (Jul 2, 2022).
Describe the bug
When using the
exit()function you get an error. (Note that the function still works, it just gives you an error)To Reproduce
exit()Expected behavior
The python script should stop.
Library version
Additional context
For anybody that doesn't know, the
exit()function force stops your python script.@Zomatree commented on GitHub (Jul 2, 2022):
This is expected behaviour, you are uncleanly closing the event loop causing the error.
@4444dogs commented on GitHub (Jul 2, 2022):
Ok, I guess that makes sense.