summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/core
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2017-06-28 15:19:15 +0200
committerRuben Pollan <meskio@sindominio.net>2017-06-29 00:32:22 +0200
commitbf1984d8707454c1cf13169cc8f937fc3be1dfae (patch)
tree526a681e0de9da407aa6d0baa36eb2abd78bf4d7 /src/leap/bitmask/core
parentb62d0e2390bc1cc6bd51e97801b2b8ef853b1a44 (diff)
[feat] Stop the vpn (and all services) when application is shut down
- Resolves: #8852
Diffstat (limited to 'src/leap/bitmask/core')
-rw-r--r--src/leap/bitmask/core/service.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/leap/bitmask/core/service.py b/src/leap/bitmask/core/service.py
index 9ff599e3..2da1ee4c 100644
--- a/src/leap/bitmask/core/service.py
+++ b/src/leap/bitmask/core/service.py
@@ -245,6 +245,8 @@ class BitmaskBackend(configurable.ConfigurableService):
return self.core_commands.do_version()
def do_stop(self):
+ for service in self:
+ service.stopService()
return self.core_commands.do_stop()
# Service Toggling