Skip to content
This repository has been archived by the owner on Sep 13, 2024. It is now read-only.

Commit

Permalink
Fix issue where the socket doesn't get forgotten and causes 100% load.
Browse files Browse the repository at this point in the history
  • Loading branch information
dob3001 authored Sep 13, 2019
1 parent 5d7f267 commit f900d41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gbulb/transports.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def _force_close_async(self, exc):
self._protocol.connection_lost(exc)
finally:
if self._sock is not None:
self._sock.close()
self._sock.detach()
self._sock = None
if self._server is not None:
self._server._detach()
Expand Down

0 comments on commit f900d41

Please sign in to comment.