mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-12 19:41:10 +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
|
||||
echo "== Decky: session supervisor stopped"
|
||||
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
|
||||
fi
|
||||
exit "$rc"
|
||||
|
||||
Reference in new issue
Block a user