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:
@@ -18,6 +18,10 @@ Item {
|
||||
getSessionPath.running = true
|
||||
}
|
||||
|
||||
Component.onDestruction: {
|
||||
lockStateMonitor.running = false
|
||||
}
|
||||
|
||||
Connections {
|
||||
target: IdleService
|
||||
function onLockRequested() {
|
||||
|
||||
@@ -109,6 +109,10 @@ Singleton {
|
||||
initializeDBusMonitors()
|
||||
}
|
||||
|
||||
Component.onDestruction: {
|
||||
nmStateMonitor.running = false
|
||||
}
|
||||
|
||||
function addRef() {
|
||||
refCount++
|
||||
if (refCount === 1) {
|
||||
|
||||
Reference in New Issue
Block a user