mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-04-03 20:32:07 -04:00
fix dangling gdbus processes
This commit is contained in:
@@ -18,6 +18,10 @@ Item {
|
|||||||
getSessionPath.running = true
|
getSessionPath.running = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Component.onDestruction: {
|
||||||
|
lockStateMonitor.running = false
|
||||||
|
}
|
||||||
|
|
||||||
Connections {
|
Connections {
|
||||||
target: IdleService
|
target: IdleService
|
||||||
function onLockRequested() {
|
function onLockRequested() {
|
||||||
|
|||||||
@@ -109,6 +109,10 @@ Singleton {
|
|||||||
initializeDBusMonitors()
|
initializeDBusMonitors()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Component.onDestruction: {
|
||||||
|
nmStateMonitor.running = false
|
||||||
|
}
|
||||||
|
|
||||||
function addRef() {
|
function addRef() {
|
||||||
refCount++
|
refCount++
|
||||||
if (refCount === 1) {
|
if (refCount === 1) {
|
||||||
|
|||||||
Reference in New Issue
Block a user