Skip to content
This repository has been archived by the owner on Sep 24, 2022. It is now read-only.

Commit

Permalink
Remove connection handler.
Browse files Browse the repository at this point in the history
  • Loading branch information
FSX committed Jun 14, 2012
1 parent f54b7de commit 3818043
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions momoko/pools.py
Expand Up @@ -309,6 +309,7 @@ def _io_callback(self, fd, events):
self._ioloop.update_handler(self._fileno, IOLoop.WRITE)

def close(self):
self._ioloop.remove_handler(self._fileno)
return self._conn.close()

@property
Expand Down

0 comments on commit 3818043

Please sign in to comment.