Terminate early when hang in encoder is detected

This commit is contained in:
Yukino Song
2025-02-03 03:28:32 +08:00
parent 8b0053437a
commit 6d8d063454
7 changed files with 75 additions and 9 deletions

View File

@@ -118,7 +118,7 @@ namespace proc {
boost::process::environment
get_env();
void
terminate();
terminate(bool immediate = false);
private:
int _app_id;