Skip to content

Commit

Permalink
Merge pull request ChimeraOS#83 from ChimeraOS/main
Browse files Browse the repository at this point in the history
[pull] main from ChimeraOS:main
  • Loading branch information
pull[bot] authored Aug 9, 2024
2 parents 0b3d6d8 + bec85df commit dc5b2ec
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions usr/share/gamescope-session-plus/gamescope-session-plus
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ post_gamescope_start() {
:
}

# default empty function to run after client exits
post_client_shutdown() {
:
}

get_gamescope_binary() {
if [ -n "$GAMESCOPE_BIN" ]; then
echo $GAMESCOPE_BIN
Expand Down Expand Up @@ -392,6 +397,8 @@ else
rm "$short_session_tracker_file"
fi

post_client_shutdown

# When the client exits, kill gamescope nicely
kill $gamescope_pid

Expand Down

0 comments on commit dc5b2ec

Please sign in to comment.