Unregister from poll() objects before closing file in order to hopefully
authorZac Medico <zmedico@gentoo.org>
Mon, 14 Jul 2008 09:00:03 +0000 (09:00 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 14 Jul 2008 09:00:03 +0000 (09:00 -0000)
commit0e64c529b42ce6c7ae3fe8ea3b1de6baf287f373
treecf8177744012f00ddf8b34b652f1d9aa22e53fd6
parentacd321b053a60ba6f5f26e122edff127947aa021
Unregister from poll() objects before closing file in order to hopefully
avoid stale events that can trigger a KeyError in Scheduler._poll_loop()
if the event's file descriptor no longer has a registered handler.

svn path=/main/trunk/; revision=11047
pym/_emerge/__init__.py