Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ae784b2

Browse files
committed
Fix a bug preventing events to close properly
A simple typo. The difference now, is that you wont get weird (harmless) error messages anymore during tests ;)
1 parent ea64c0a commit ae784b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zerorpc/events.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def __del__(self):
4747

4848
def close(self):
4949
if self._send_task:
50-
self._send_queue.kill()
50+
self._send_task.kill()
5151

5252
def _sender(self):
5353
running = True

0 commit comments

Comments
 (0)