[py-svn] r37787 - py/trunk/py/execnet
hpk at codespeak.net
hpk at codespeak.net
Fri Feb 2 02:07:39 CET 2007
Author: hpk
Date: Fri Feb 2 02:07:37 2007
New Revision: 37787
Modified:
py/trunk/py/execnet/gateway.py
Log:
more precision at shutdown: first remove
from the sendqueue, then trigger the queue
to shutdown. (This is an attempt to get
rid of the still appearing "exception in thread"
messages)
Modified: py/trunk/py/execnet/gateway.py
==============================================================================
--- py/trunk/py/execnet/gateway.py (original)
+++ py/trunk/py/execnet/gateway.py Fri Feb 2 02:07:37 2007
@@ -275,11 +275,12 @@
## self._exitlock.release()
def exit(self):
- self._outgoing.put(None)
try:
del _active_sendqueues[self._outgoing]
except KeyError:
pass
+ else:
+ self._outgoing.put(None)
def join(self, joinexec=True):
current = threading.currentThread()
More information about the pytest-commit
mailing list