diff options
-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() |