crossbario / autobahn-python

WebSocket and WAMP in Python for Twisted and asyncio
https://crossbar.io/autobahn
MIT License
2.47k stars 763 forks source link

Rapid Cancelling Of Tasks Can Cause InvalidStateError #1600

Closed Skully17 closed 1 year ago

Skully17 commented 1 year ago

If tasks are created and cancelled frequently, or done inquick succession, they can cause “InvalidStateError” to be raised and crash the program. More details are given in this post, including possible fixes: https://crossbar.discourse.group/t/rapid-cancelling-of-tasks-can-cause-invalidstateerror/2128