Removing unsupported signal() calls on Windows

SIGQUIT and SIGHUP are not supported.

For details, see Python docs: http://docs.python.org/2/library/signal.html#signal.signal
This commit is contained in:
Strahinja Val Markovic 2013-10-17 20:16:44 -07:00
parent 6e9a16e90e
commit a5fb6b7509

View File

@ -43,9 +43,7 @@ def SetUpSignalHandler():
handlers.ServerShutdown() handlers.ServerShutdown()
for sig in [ signal.SIGTERM, for sig in [ signal.SIGTERM,
signal.SIGINT, signal.SIGINT ]:
signal.SIGHUP,
signal.SIGQUIT ]:
signal.signal( sig, SignalHandler ) signal.signal( sig, SignalHandler )