程序退出前停止一切录制

This commit is contained in:
xiongziliang
2019-12-04 19:15:48 +08:00
parent 728fd55e0c
commit 33047ddc94
4 changed files with 13 additions and 0 deletions

View File

@@ -336,6 +336,7 @@ int start_main(int argc,char *argv[]) {
}
unInstallWebApi();
unInstallWebHook();
Recorder::stopAll();
//休眠1秒再退出防止资源释放顺序错误
InfoL << "程序退出中,请等待...";
sleep(1);