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

Guido van Rossum guido@python.org
Tue, 19 Nov 2002 20:55:53 -0500


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

Modified Files:
	client.py 
Log Message:
Make the ConnectThread a daemon thread.  This prevents an unsuccessful
ConnectThread from hanging the application on exit.


=== ZODB3/ZEO/zrpc/client.py 1.20 => 1.21 ===
--- ZODB3/ZEO/zrpc/client.py:1.20	Fri Oct  4 20:35:25 2002
+++ ZODB3/ZEO/zrpc/client.py	Tue Nov 19 20:55:53 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: