compile error in windows
This commit is contained in:
parent
fcb6b6a7c5
commit
7a7242d8ae
|
@ -95,7 +95,7 @@ void simFreeScript(SScript *script) {
|
|||
SScript *bgScript = script->bgScripts[i];
|
||||
simInfo("script:%s, set stop flag", script->fileName);
|
||||
bgScript->killed = true;
|
||||
if (bgScript->bgPid) {
|
||||
if (taosCheckPthreadValid(bgScript->bgPid)) {
|
||||
pthread_join(bgScript->bgPid, NULL);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue