Index: lib/python/Signals/WinSignalHandler.py =================================================================== RCS file: /cvs-repository/Packages/Signals/Attic/WinSignalHandler.py,v retrieving revision 1.1.2.2 diff -c -r1.1.2.2 WinSignalHandler.py *** lib/python/Signals/WinSignalHandler.py 5 Jun 2005 10:40:53 -0000 1.1.2.2 --- lib/python/Signals/WinSignalHandler.py 3 Aug 2005 13:48:17 -0000 *************** *** 188,194 **** # that we don't wake the select loop until after the shutdown # flags have been set. result = 0 ! if sig is not None and self.registry.has_key(sig): self.signalHandler(sig, None) result = 1 # don't call other handlers. return result --- 188,194 ---- # that we don't wake the select loop until after the shutdown # flags have been set. result = 0 ! if sig is not None and self.registry is not None and self.registry.has_key(sig): self.signalHandler(sig, None) result = 1 # don't call other handlers. return result *************** *** 241,246 **** --- 241,249 ---- """Meta signal handler that dispatches to registered handlers.""" signame = get_signal_name(signum) logger.info("Caught signal %s" % signame) + if self.registry is None: + # we are shutting down + return for handler in self.registry.get(signum, []): # Never let a bad handler prevent the standard signal