diff options
| author | Daniel <[email protected]> | 2016-04-22 22:40:25 -0400 |
|---|---|---|
| committer | Daniel <[email protected]> | 2016-04-22 22:40:25 -0400 |
| commit | 5a2b8e2ce6d4718fb987112d6854558025de2061 (patch) | |
| tree | 98d6b82a37778d6f8ab20cca57a2b8ecf06bfe92 /docs | |
| parent | Add optional redirect_uri parameter to utils.oauth_url (diff) | |
| download | discord.py-5a2b8e2ce6d4718fb987112d6854558025de2061.tar.xz discord.py-5a2b8e2ce6d4718fb987112d6854558025de2061.zip | |
Properly close session if client failed to start
`keep_alive` was not defined until it was created in `received_message`, `ws` is `None` until its actually connected, which doesn't always happen. If an error happens before things start up properly, the client should now clean its objects up (fixes `unclosed client session` warning).
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions