Fix for Python 3
This commit is contained in:
parent
444386f271
commit
af91855b18
5 changed files with 14 additions and 15 deletions
|
|
@ -84,7 +84,7 @@ class EngineIO(LoggingMixin):
|
|||
|
||||
def _reset_heartbeat(self):
|
||||
try:
|
||||
self._heartbeat_thread.stop()
|
||||
self._heartbeat_thread.halt()
|
||||
except AttributeError:
|
||||
pass
|
||||
ping_interval = self._engineIO_session.ping_interval
|
||||
|
|
@ -150,7 +150,7 @@ class EngineIO(LoggingMixin):
|
|||
|
||||
def _close(self):
|
||||
self._wants_to_close = True
|
||||
self._heartbeat_thread.stop()
|
||||
self._heartbeat_thread.halt()
|
||||
if not self._opened:
|
||||
return
|
||||
engineIO_packet_type = 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue