|  | @@ -18,7 +18,6 @@
 | 
											
												
													
														|  |  from __future__ import absolute_import
 |  |  from __future__ import absolute_import
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  import errno
 |  |  import errno
 | 
											
												
													
														|  | -import gc
 |  | 
 | 
											
												
													
														|  |  import os
 |  |  import os
 | 
											
												
													
														|  |  import select
 |  |  import select
 | 
											
												
													
														|  |  import socket
 |  |  import socket
 | 
											
										
											
												
													
														|  | @@ -576,10 +575,6 @@ class TaskPool(BasePool):
 | 
											
												
													
														|  |                  tref = trefs.pop(job)
 |  |                  tref = trefs.pop(job)
 | 
											
												
													
														|  |                  tref.cancel()
 |  |                  tref.cancel()
 | 
											
												
													
														|  |                  del(tref)
 |  |                  del(tref)
 | 
											
												
													
														|  | -                # Will not be reclaimed quickly enough on some platforms,
 |  | 
 | 
											
												
													
														|  | -                # so the memory is growing and still not released back to the
 |  | 
 | 
											
												
													
														|  | -                # OS.
 |  | 
 | 
											
												
													
														|  | -                gc.collect()
 |  | 
 | 
											
												
													
														|  |              except (KeyError, AttributeError):
 |  |              except (KeyError, AttributeError):
 | 
											
												
													
														|  |                  pass  # out of scope
 |  |                  pass  # out of scope
 | 
											
												
													
														|  |          self._discard_tref = _discard_tref
 |  |          self._discard_tref = _discard_tref
 |