提交 91925ffb 编写于 作者: wafwerar's avatar wafwerar

fix(os): run case on win

上级 e1443031
...@@ -1463,7 +1463,9 @@ void ctgUpdateThreadFuncUnexpectedStopped(void) { ...@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册