diff options
| author | Rapptz <[email protected]> | 2016-08-21 11:45:41 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2016-08-21 11:45:41 -0400 |
| commit | 0b6e74ebece6b88beff8eabeecdd10eeb60a08a5 (patch) | |
| tree | 0896d9c7ed7d415473df50f45df2bc5d884e2d10 /docs/api.rst | |
| parent | Remove download stats badge. (diff) | |
| download | discord.py-0b6e74ebece6b88beff8eabeecdd10eeb60a08a5.tar.xz discord.py-0b6e74ebece6b88beff8eabeecdd10eeb60a08a5.zip | |
Ensure that keep alive threads are closed when a websocket closes.
The library worked with the assumption that whenever the recv call for
the websocket would lead to a closure, the close method would be called
to signal closure and as a result our close method would be called.
This assumption turned out to be false as the websockets library would
instead call an internal function named close_connection instead. So to
solve our problem we need to override this function instead of close.
Diffstat (limited to 'docs/api.rst')
0 files changed, 0 insertions, 0 deletions