Uh oh!
There was an error while loading. Please reload this page.
Graceful termination on shutdown, logoff, and service stop - #647
Conversation
3a0aa54 to
188e358CompareI ended up finding and fixing some additional bugs after doing some testing in another branch that is fixing/removing |
KuleRucket
commented
Dec 29, 2022
It would be great if the "Press enter to continue" was disabled for Linux all together. You would not normally need to hold a terminal window open in Linux so this has always been mildly irritating. |
ReenigneArcher
commented
Dec 29, 2022
Same for Windows to be honest. |
Fixes reverting audio device to default while streaming during logoff/shutdown
188e358 to
2766f3fCompare
Description
This PR addresses several issues handling service stop, shutdown, and logoff on Windows:
WM_ENDSESSIONto allow Sunshine to gracefully close itself when the user session is ending. Unfortunately, we have to use the hidden window solution rather than the simplerSetConsoleCtrlHandler()API because the display capture APIs we use causegdi32.dllto be loaded.Screenshot
Issues Fixed or Closed
Fixes Sunshine not reverting back to the default audio output after logoff, shutdown, or service stop while streaming
Type of Change
.github/...)Checklist
Branch Updates
LizardByte requires that branches be up-to-date before merging. This means that after any PR is merged, this branch
must be updated before it can be merged. You must also
Allow edits from maintainers.