提交 e8bf01ac 编写于 作者: F fryshorts

Fix destructor video outputs.

This fixes a crash on Linux that supposedly occurs when pthread_join
is called multiple times.
上级 9dc2cd7d
......@@ -367,6 +367,7 @@ void video_output_stop(video_t video)
return;
if (video->initialized) {
video->initialized = false;
os_event_signal(video->stop_event);
pthread_join(video->thread, &thread_ret);
os_event_signal(video->update_event);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册