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:
Cameron Gutman 2024-11-06 22:57:27 -06:00 committed by GitHub
commit 54ddf37584
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 5 deletions

View file

@ -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();
}