diff options
Diffstat (limited to 'flup/server/threadedserver.py')
-rw-r--r-- | flup/server/threadedserver.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/flup/server/threadedserver.py b/flup/server/threadedserver.py index 628db78..0471ed3 100644 --- a/flup/server/threadedserver.py +++ b/flup/server/threadedserver.py @@ -105,7 +105,8 @@ class ThreadedServer(object): self._mainloopPeriodic() # Restore signal handlers. - self._restoreSignalHandlers() + if not sys.platform.startswith('win'): + self._restoreSignalHandlers() # Return bool based on whether or not SIGHUP was received. return self._hupReceived |