Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #13 from iceone/master

Also stop the pool cleaner when the pool is closed.
  • Loading branch information...
commit 7137919e78a59e77c470d5fc4a820bea826494f4 2 parents 27b712e + 858789f
@FSX authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  momoko/pools.py
View
2  momoko/pools.py
@@ -117,6 +117,7 @@ def close(self):
for conn in self._pool:
if not conn.closed:
conn.close()
+ self._cleaner.stop()
self._pool = []
self.closed = True
@@ -269,6 +270,7 @@ def close(self):
for conn in self._pool:
if not conn.closed:
conn.close()
+ self._cleaner.stop()
self._pool = []
self.closed = True
Please sign in to comment.
Something went wrong with that request. Please try again.