Cleanup the code
This commit is contained in:
parent
7a8d95efd9
commit
0552e388e7
2
api.c
2
api.c
|
@ -590,8 +590,6 @@ int ph7_release(ph7 *pEngine) {
|
|||
SyMutexLeave(sMPGlobal.pMutexMethods, pEngine->pMutex); /* NO-OP if sMPGlobal.nThreadingLevel != PH7_THREAD_LEVEL_MULTI */
|
||||
/* Release engine mutex */
|
||||
SyMutexRelease(sMPGlobal.pMutexMethods, pEngine->pMutex) /* NO-OP if sMPGlobal.nThreadingLevel != PH7_THREAD_LEVEL_MULTI */
|
||||
#endif
|
||||
#if defined(PH7_ENABLE_THREADS)
|
||||
/* Enter the global mutex */
|
||||
SyMutexEnter(sMPGlobal.pMutexMethods, sMPGlobal.pMutex); /* NO-OP if sMPGlobal.nThreadingLevel == PH7_THREAD_LEVEL_SINGLE */
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue