Skip to content

Commit

Permalink
Fix wrong usage of is_running callback
Browse files Browse the repository at this point in the history
  • Loading branch information
Waldemar Quevedo committed Jan 11, 2017
1 parent 150fe43 commit 51b2038
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nats/io/client.py
Expand Up @@ -683,7 +683,7 @@ def _unbind(self):
if self.is_connected:
self._status = Client.RECONNECTING

if self._ping_timer.is_running:
if self._ping_timer.is_running():
self._ping_timer.stop()

while True:
Expand Down

0 comments on commit 51b2038

Please sign in to comment.