fix dangling gdbus processes

This commit is contained in:
bbedward committed 2025-09-20 10:09:28 -04:00
1 parent 6e6412fffc
commit 8a7e386adb
2 files changed
+8

No files matched your search

+4
View File
@@ -18,6 +18,10 @@ Item {
getSessionPath.running = true
}
Component.onDestruction: {
lockStateMonitor.running = false
}
Connections {
target: IdleService
function onLockRequested() {
+4
View File
@@ -109,6 +109,10 @@ Singleton {
initializeDBusMonitors()
}
Component.onDestruction: {
nmStateMonitor.running = false
}
function addRef() {
refCount++
if (refCount === 1) {