Skip to content

Commit

Permalink
make sure we stop the recv stream
Browse files Browse the repository at this point in the history
  • Loading branch information
tarekziade committed Oct 24, 2013
1 parent db3205f commit 4d07130
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions circus/client.py
Expand Up @@ -45,6 +45,7 @@ def _init_context(self, context):
self.context = context or zmq.Context.instance()

def stop(self):
self.stream.stop_on_recv()
self.socket.close()

def send_message(self, command, **props):
Expand Down

0 comments on commit 4d07130

Please sign in to comment.