mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-04 12:01:02 +02:00
controller: stop catching GreenletExit
no longer necessary after the hub changes. Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
5003c1634c
commit
359efd73aa
@ -21,7 +21,6 @@ from ryu.lib import hub
|
||||
from ryu.lib.hub import StreamServer
|
||||
import traceback
|
||||
import random
|
||||
import greenlet
|
||||
import ssl
|
||||
|
||||
import ryu.base.app_manager
|
||||
@ -94,11 +93,6 @@ def _deactivate(method):
|
||||
def deactivate(self):
|
||||
try:
|
||||
method(self)
|
||||
except greenlet.GreenletExit:
|
||||
pass
|
||||
except:
|
||||
traceback.print_exc()
|
||||
raise
|
||||
finally:
|
||||
self.is_active = False
|
||||
return deactivate
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user