mirror of
https://github.com/yzernik/squeaknode.git
synced 2026-08-15 12:50:47 +02:00
Cancel handshake timer on connection shutdown (#1410)
This commit is contained in:
parent
a16dd32549
commit
b9fcaa5215
1 changed files with 1 additions and 0 deletions
|
|
@ -91,6 +91,7 @@ class Connection(object):
|
|||
def shutdown(self):
|
||||
logger.debug("Peet shutting down...")
|
||||
self.peer.stop()
|
||||
self.handshake_timer.cancel()
|
||||
self.ping_timer.cancel()
|
||||
self.pong_timer.cancel()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue