fix a bug with gevent monkeypatch
This commit is contained in:
1
changelog/378.bugfix.rst
Normal file
1
changelog/378.bugfix.rst
Normal file
@@ -0,0 +1 @@
|
||||
Fix support for gevent monkeypatching
|
||||
@@ -268,7 +268,7 @@ class WorkerController(object):
|
||||
if not self._down:
|
||||
try:
|
||||
self.sendcommand("shutdown")
|
||||
except IOError:
|
||||
except (IOError, OSError):
|
||||
pass
|
||||
self._shutdown_sent = True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user