0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 13:08:50 +02:00

frontend-tools: Detach caption thread if critical failure

Prevents the thread from being considered "active" if a critical failure
occur, so calling the stop function won't be necessary.
This commit is contained in:
jp9000 2016-12-23 20:19:42 -08:00
parent 869692098a
commit d32f7c95a2

View File

@ -338,6 +338,7 @@ try {
} catch (HRError err) {
error("%s failed: %s (%lX)", __FUNCTION__, err.str, err.hr);
CoUninitialize();
captions->th.detach();
}
void obs_captions::start()