[TD-6169]<fix>: windows dll client can not quit.
This commit is contained in:
parent
92b7a21490
commit
5b5da38a10
|
@ -199,9 +199,7 @@ void taos_init_imp(void) {
|
||||||
|
|
||||||
// In the APIs of other program language, taos_cleanup is not available yet.
|
// In the APIs of other program language, taos_cleanup is not available yet.
|
||||||
// So, to make sure taos_cleanup will be invoked to clean up the allocated resource to suppress the valgrind warning.
|
// So, to make sure taos_cleanup will be invoked to clean up the allocated resource to suppress the valgrind warning.
|
||||||
#if !defined(TD_WINDOWS)
|
|
||||||
atexit(taos_cleanup);
|
atexit(taos_cleanup);
|
||||||
#endif
|
|
||||||
|
|
||||||
tscDebug("client is initialized successfully");
|
tscDebug("client is initialized successfully");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue