Merge pull request #378 from tzickel/geventfix

fix a bug with gevent monkeypatch
This commit is contained in:
Ronny Pfannschmidt
2018-11-22 07:09:38 +01:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

1
changelog/378.bugfix.rst Normal file
View File

@@ -0,0 +1 @@
Fix support for gevent monkeypatching

View File

@@ -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