fix:QSemphaore changes

This commit is contained in:
xiaoyifang 2022-04-10 09:33:55 +08:00
parent 6712e6cf96
commit 658af8525e
2 changed files with 4 additions and 4 deletions

4
dsl.cc
View file

@ -336,8 +336,8 @@ DslDictionary::~DslDictionary()
Mutex::Lock _( deferredInitMutex );
// Wait for init runnable to complete if it was ever started
if ( deferredInitRunnableStarted )
deferredInitRunnableExited.acquire();
// if ( deferredInitRunnableStarted )
// deferredInitRunnableExited.acquire();
if ( dz )
dict_data_close( dz );

4
mdx.cc
View file

@ -399,8 +399,8 @@ MdxDictionary::~MdxDictionary()
Mutex::Lock _( deferredInitMutex );
// Wait for init runnable to complete if it was ever started
if ( deferredInitRunnableStarted )
deferredInitRunnableExited.acquire();
// if ( deferredInitRunnableStarted )
// deferredInitRunnableExited.acquire();
dictFile.close();