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 Jul 6, 2012
1 parent 8e65127 commit 121341b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions momoko/pools.py
Original file line number Diff line number Diff line change
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 121341b

Please sign in to comment.