diff options
Diffstat (limited to 'python/rvilib.py')
-rw-r--r-- | python/rvilib.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/python/rvilib.py b/python/rvilib.py index 8d2551c..e00dff9 100644 --- a/python/rvilib.py +++ b/python/rvilib.py @@ -156,7 +156,8 @@ class RVI(SimpleJSONRPCServer): # Redefined shutdown method that first unregisters all services. # def shutdown(self): - for svc in self.registered_services.keys(): + shutdown_list = self.registered_services.keys() + for svc in shutdown_list: self.unregister_service(svc) SimpleJSONRPCServer.shutdown(self) |