fix(os): run case on win

This commit is contained in:
afwerar 2022-05-25 19:20:02 +08:00
parent e144303190
commit 91925ffb08
1 changed files with 2 additions and 0 deletions

View File

@ -1463,7 +1463,9 @@ void ctgUpdateThreadFuncUnexpectedStopped(void) {
void* ctgUpdateThreadFunc(void* param) {
setThreadName("catalog");
#ifdef WINDOWS
atexit(ctgUpdateThreadFuncUnexpectedStopped);
#endif
qInfo("catalog update thread started");
CTG_LOCK(CTG_READ, &gCtgMgmt.lock);