diff options
author | Magnus Feuer <mfeuer@jaguarlandrover.com> | 2015-06-10 09:58:47 -0700 |
---|---|---|
committer | Magnus Feuer <mfeuer@jaguarlandrover.com> | 2015-06-10 09:58:47 -0700 |
commit | 1bbd287fb2341278bb5bdbdf45717e223504e1f7 (patch) | |
tree | 376e561e84502051cbc1f86f893235a2f9bfd620 /python | |
parent | 2a85a0d99345ae19473228154ba1cd74411d9cb1 (diff) | |
download | rvi_core-1bbd287fb2341278bb5bdbdf45717e223504e1f7.tar.gz |
Fixed shutdown issue of multiple services
Diffstat (limited to 'python')
-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) |