From bf1984d8707454c1cf13169cc8f937fc3be1dfae Mon Sep 17 00:00:00 2001 From: Ruben Pollan Date: Wed, 28 Jun 2017 15:19:15 +0200 Subject: [feat] Stop the vpn (and all services) when application is shut down - Resolves: #8852 --- src/leap/bitmask/core/service.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/leap/bitmask/core') 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 -- cgit v1.2.3