Merge pull request #5567 from taosdata/hotfix/TD-3464

[TD-3464]fix asyncdemo crash issue
This commit is contained in:
haojun Liao 2021-03-25 16:39:55 +08:00 committed by GitHub
commit 8ffcf8af58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

View File

@ -163,6 +163,16 @@ int main(int argc, char *argv[])
getchar();
while(1) {
if (tablesProcessed < numOfTables) {
printf("wait for process finished\n");
sleep(1);
continue;
}
break;
}
taos_close(taos);
free(tableList);