[Zodb-checkins] CVS: ZODB3/ZEO/zrpc - client.py:1.19.2.2.2.1

Guido van Rossum guido@python.org
Wed, 18 Dec 2002 14:55:10 -0500


Update of /cvs-repository/ZODB3/ZEO/zrpc
In directory cvs.zope.org:/tmp/cvs-serv8603/zrpc

Modified Files:
      Tag: ZODB3-fast-restart-branch
	client.py 
Log Message:
Port trunk 1.21:
Make the ConnectThread a daemon thread.  This prevents an unsuccessful 
ConnectThread from hanging the application on exit.


=== ZODB3/ZEO/zrpc/client.py 1.19.2.2 => 1.19.2.2.2.1 ===
--- ZODB3/ZEO/zrpc/client.py:1.19.2.2	Mon Dec  9 15:50:43 2002
+++ ZODB3/ZEO/zrpc/client.py	Wed Dec 18 14:55:10 2002
@@ -172,6 +172,7 @@
                 self.thread = t = ConnectThread(self, self.client,
                                                 self.addrlist,
                                                 self.tmin, self.tmax)
+                t.setDaemon(1)
                 t.start()
             if sync:
                 while self.connection is None: