mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-26 04:31:37 +08:00
休眠1秒后退出
This commit is contained in:
parent
6442821d2b
commit
7e770841d1
@ -291,9 +291,9 @@ int main(int argc,char *argv[]) {
|
||||
}
|
||||
unInstallWebApi();
|
||||
unInstallWebHook();
|
||||
//休眠3秒再退出,防止资源释放顺序错误
|
||||
//休眠1秒再退出,防止资源释放顺序错误
|
||||
InfoL << "程序退出中,请等待...";
|
||||
sleep(3);
|
||||
sleep(1);
|
||||
InfoL << "程序退出完毕!";
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user