mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-02-23 00:30:52 +08:00
程序退出前停止一切录制
This commit is contained in:
@@ -336,6 +336,7 @@ int start_main(int argc,char *argv[]) {
|
||||
}
|
||||
unInstallWebApi();
|
||||
unInstallWebHook();
|
||||
Recorder::stopAll();
|
||||
//休眠1秒再退出,防止资源释放顺序错误
|
||||
InfoL << "程序退出中,请等待...";
|
||||
sleep(1);
|
||||
|
||||
Reference in New Issue
Block a user