mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-08-10 00:52:16 +00:00
fix(rtsp): fix RTSP timeout after quitting an app (#3376)
* fix(rtsp): fix RTSP timeout after quitting an app * fix(process): ignore failures when terminating the process group
This commit is contained in:
@@ -87,7 +87,8 @@ namespace proc {
|
||||
|
||||
// We always call terminate() even if we waited successfully for all processes above.
|
||||
// This ensures the process group state is consistent with the OS in boost.
|
||||
group.terminate();
|
||||
std::error_code ec;
|
||||
group.terminate(ec);
|
||||
group.detach();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user