Merge pull request #10264 from akallabeth/threadpool-fix

[winpr,pool] fix winpr_SetThreadpoolThreadMaximum
This commit is contained in:
akallabeth 2024-06-07 10:06:43 +02:00 committed by GitHub
commit 24d3cca492
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);
}