1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-06 05:25:41 -05:00

fix dangling gdbus processes

This commit is contained in:
bbedward
2025-09-20 10:09:28 -04:00
parent 6e6412fffc
commit 8a7e386adb
2 changed files with 8 additions and 0 deletions

View File

@@ -18,6 +18,10 @@ Item {
getSessionPath.running = true
}
Component.onDestruction: {
lockStateMonitor.running = false
}
Connections {
target: IdleService
function onLockRequested() {

View File

@@ -109,6 +109,10 @@ Singleton {
initializeDBusMonitors()
}
Component.onDestruction: {
nmStateMonitor.running = false
}
function addRef() {
refCount++
if (refCount === 1) {