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

@@ -101,6 +101,8 @@ namespace lifetime {
#else
std::raise(SIGTRAP);
#endif
// If debug trap still doesn't work, abort
abort();
}
char **