Signed-off-by: OHMURA Kei <[email protected]>
---
 ryu/base/app_manager.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ryu/base/app_manager.py b/ryu/base/app_manager.py
index a3abc85..9937df5 100644
--- a/ryu/base/app_manager.py
+++ b/ryu/base/app_manager.py
@@ -218,7 +218,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()
-- 
1.7.9.5


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to