mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-25 15:56:01 +00:00
fix(session): stop the session script's own loops when steam exits
This commit is contained in:
1 file changed
+4
@@ -591,6 +591,10 @@ BUSCONF
|
|||||||
wait "$decky_supervisor" 2>/dev/null || true
|
wait "$decky_supervisor" 2>/dev/null || true
|
||||||
echo "== Decky: session supervisor stopped"
|
echo "== Decky: session supervisor stopped"
|
||||||
fi
|
fi
|
||||||
|
# This script's own loops and daemons (the fill-screen watcher never ends) would pass to
|
||||||
|
# gamescope's reaper when it exits and hold the compositor up on a black screen.
|
||||||
|
_bl_jobs=$(jobs -p)
|
||||||
|
[ -n "$_bl_jobs" ] && kill $_bl_jobs 2>/dev/null
|
||||||
reap_orphans
|
reap_orphans
|
||||||
fi
|
fi
|
||||||
exit "$rc"
|
exit "$rc"
|
||||||
|
|||||||
Reference in new issue
Block a user