Skip to content

Commit e0dc80a

Browse files
Removed event loop termination on WS close (#288)
* Removed event loop termination on WS close * Updated changelog Co-authored-by: Tom <[email protected]>
1 parent 8e62df9 commit e0dc80a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/changelog.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Master
55
Massive documentation updates
66

77
- TwitchIO
8+
- Removed unexpected loop termination from `WSConnection._close()`
89
- Fix bug where # prefixed channel names in initial_channels would not trigger :func:`twitchio.Client.event_ready`
910
- :func:`User.create_clip` has been fixed by converting bool to string in http request
1011

twitchio/websocket.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -520,5 +520,4 @@ async def _close(self):
520520
if self._websocket:
521521
await self._websocket.close()
522522
if self._client._http.session:
523-
await self._client._http.session.close()
524-
self._loop.stop()
523+
await self._client._http.session.close()

0 commit comments

Comments
 (0)