Author: dmeyer
Date: Sat Mar 18 16:29:17 2006
New Revision: 1302

Modified:
   trunk/base/src/ipc.py

Log:
stop warning on shutdown

Modified: trunk/base/src/ipc.py
==============================================================================
--- trunk/base/src/ipc.py       (original)
+++ trunk/base/src/ipc.py       Sat Mar 18 16:29:17 2006
@@ -251,7 +251,7 @@
     def __del__(self):
         if hasattr(self, "server"):
             self.handle_close()
-
+        
     def set_default_timeout(self, timeout):
         self._default_timeout = timeout
 
@@ -270,7 +270,9 @@
         self._wait_queue = {}
         self._proxied_objects = {}
         self.signals["closed"].emit()
-        kaa.signals["shutdown"].disconnect(self.handle_close)
+        if kaa.signals:
+            # on system shutdown kaa.signals is already gone
+            kaa.signals["shutdown"].disconnect(self.handle_close)
 
 
     def handle_read(self):


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to