diff options
-rw-r--r-- | ryu/controller/controller.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ryu/controller/controller.py b/ryu/controller/controller.py index 04c2c14c..100313e6 100644 --- a/ryu/controller/controller.py +++ b/ryu/controller/controller.py @@ -19,6 +19,7 @@ import logging import gevent import traceback import random +import greenlet from gevent.server import StreamServer from gevent.queue import Queue @@ -63,6 +64,8 @@ def _deactivate(method): def deactivate(self): try: method(self) + except greenlet.GreenletExit: + pass except: traceback.print_stack() raise |