[winpr,pool] fix winpr_SetThreadpoolThreadMaximum
unlock the arraylist, don´t lock it twice.
This commit is contained in:
parent
22d9f070ba
commit
736774dd22
@ -249,7 +249,7 @@ VOID winpr_SetThreadpoolThreadMaximum(PTP_POOL ptpp, DWORD cthrdMost)
|
||||
ArrayList_Clear(ptpp->Threads);
|
||||
ResetEvent(ptpp->TerminateEvent);
|
||||
}
|
||||
ArrayList_Lock(ptpp->Threads);
|
||||
ArrayList_Unlock(ptpp->Threads);
|
||||
winpr_SetThreadpoolThreadMinimum(ptpp, ptpp->Minimum);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user