Merge pull request #6456 from akallabeth/streampool_fix
Ignore NULL streams in StreamPool_Return
This commit is contained in:
commit
182a1eaed7
@ -218,6 +218,9 @@ out_fail:
|
||||
|
||||
void StreamPool_Return(wStreamPool* pool, wStream* s)
|
||||
{
|
||||
if (!s)
|
||||
return;
|
||||
|
||||
if (pool->synchronized)
|
||||
EnterCriticalSection(&pool->lock);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user