fix(os): run case on win
This commit is contained in:
parent
e144303190
commit
91925ffb08
|
@ -1463,7 +1463,9 @@ void ctgUpdateThreadFuncUnexpectedStopped(void) {
|
||||||
|
|
||||||
void* ctgUpdateThreadFunc(void* param) {
|
void* ctgUpdateThreadFunc(void* param) {
|
||||||
setThreadName("catalog");
|
setThreadName("catalog");
|
||||||
|
#ifdef WINDOWS
|
||||||
atexit(ctgUpdateThreadFuncUnexpectedStopped);
|
atexit(ctgUpdateThreadFuncUnexpectedStopped);
|
||||||
|
#endif
|
||||||
qInfo("catalog update thread started");
|
qInfo("catalog update thread started");
|
||||||
|
|
||||||
CTG_LOCK(CTG_READ, &gCtgMgmt.lock);
|
CTG_LOCK(CTG_READ, &gCtgMgmt.lock);
|
||||||
|
|
Loading…
Reference in New Issue