diff --git a/Services/VpnService.qml b/Services/VpnService.qml index 8ac67e8f..2602750b 100644 --- a/Services/VpnService.qml +++ b/Services/VpnService.qml @@ -38,6 +38,10 @@ Singleton { Component.onCompleted: initialize() + Component.onDestruction: { + nmMonitor.running = false + } + function initialize() { // Start monitoring NetworkManager for changes nmMonitor.running = true