Fix bug causing Sunshine thinking there is still an app running after shutting down app from within the Stream
This commit is contained in:
parent
94e1dc903e
commit
330b0ef8ef
5 changed files with 51 additions and 46 deletions
|
|
@ -549,7 +549,7 @@ void controlThread(video::idr_event_t idr_events) {
|
|||
stop(session);
|
||||
}
|
||||
|
||||
if(session.has_process && !proc::proc.running()) {
|
||||
if(session.has_process && proc::proc.running() == -1) {
|
||||
std::cout << "Process terminated"sv << std::endl;
|
||||
|
||||
std::uint16_t reason = 0x0100;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue