diff options
author | OHMURA Kei <ohmura.kei@lab.ntt.co.jp> | 2013-03-22 15:20:52 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2013-03-24 14:34:14 -0700 |
commit | 65b1d94da0ffe3b38205d452fe8ba7dd5e1c811d (patch) | |
tree | 4d2734494b7639c6633a4430498e668d7c4fc5c1 | |
parent | 734133612b810b9376ff8eb5ba135a21f55d8c9e (diff) |
app_manager: fix close dict handling bug
Signed-off-by: OHMURA Kei <ohmura.kei@lab.ntt.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r-- | ryu/base/app_manager.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ryu/base/app_manager.py b/ryu/base/app_manager.py index f09ea4a7..588ed5e6 100644 --- a/ryu/base/app_manager.py +++ b/ryu/base/app_manager.py @@ -223,7 +223,7 @@ class AppManager(object): def close(self): def close_all(close_dict): - for app in close_dict: + for app in close_dict.values(): close_method = getattr(app, 'close', None) if callable(close_method): close_method() |