to align gevent's joinall which does raise_error=False by default, ignore exceptions for eventlet version.
Signed-off-by: YAMAMOTO Takashi <[email protected]> --- ryu/lib/hub.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ryu/lib/hub.py b/ryu/lib/hub.py index 1e5ba20..2709b63 100644 --- a/ryu/lib/hub.py +++ b/ryu/lib/hub.py @@ -67,7 +67,11 @@ elif HUB_TYPE == 'eventlet': thread.kill() def joinall(threads): - map(lambda x: x.wait(), threads) + for t in threads: + try: + t.wait() + except: + pass Queue = eventlet.queue.Queue -- 1.8.0.1 ------------------------------------------------------------------------------ Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
