调用destroy函数时延迟5s退出

This commit is contained in:
liuxueli
2020-01-17 18:48:23 +08:00
parent 490efc9d63
commit 791c2c270f

View File

@@ -2,6 +2,7 @@
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include <assert.h> #include <assert.h>
#include <unistd.h>
#include <MESA/http.h> #include <MESA/http.h>
#include <MESA/ftp.h> #include <MESA/ftp.h>
@@ -507,6 +508,7 @@ extern "C" int TSG_MASTER_INIT()
extern "C" int TSG_MASTER_UNLOAD() extern "C" int TSG_MASTER_UNLOAD()
{ {
sleep(5);
return 0; return 0;
} }