Replies: 1 comment 1 reply
-
Yes, I can reproduce this here as well. Thanks for the report, I'll look into it. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm experiencing a bug (I guess) at shutdown when using the "polling" transport, not when using "websocket".
My setup:
My main function looks like this:
So the code is blocked at the wait()
I'm calling await sio.shutdown() from my program, the expectation is the release of the wait() but that doesn't happen as intented:
Here is the traceback:
It looks like a TOCTOU issue where we are using a http client that is connected at the time of check but disconnected at the time of use due to awaits in the middle.
I'm not familiar with this part of code. What do you think?
Beta Was this translation helpful? Give feedback.
All reactions