]> git.ipfire.org Git - thirdparty/tornado.git/commit
Help out the CPython GC by clearing some references in IOLoop.close.
authorBen Darnell <ben@bendarnell.com>
Mon, 21 Apr 2014 04:26:40 +0000 (00:26 -0400)
committerBen Darnell <ben@bendarnell.com>
Mon, 21 Apr 2014 04:26:40 +0000 (00:26 -0400)
commit33370aa7fb618c9585cb756c5228bae94d8630ec
treec1e7a4eebb5c72cd6904da4c8b5b7dcdc1813f1c
parentce3ca51495bfe72acf7a850203e5c6816d6c1fb4
Help out the CPython GC by clearing some references in IOLoop.close.

This prevents some of the ResourceWarnings from the test suite on python
3.3 (older versions didn't report the leaks; newer versions are better
at freeing generators).  Since this is in IOLoop.close, it mainly
affects tests.
tornado/ioloop.py