From e75a9fa0816c3c0f35b9acc5818d43577a89b5f0 Mon Sep 17 00:00:00 2001 From: Daniel Buckmaster Date: Sun, 5 Jul 2015 14:11:24 +1000 Subject: [PATCH] Don't assert; sometimes there aren't any jobs to wait for! --- Engine/source/platform/threads/threadPool.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/Engine/source/platform/threads/threadPool.cpp b/Engine/source/platform/threads/threadPool.cpp index 81e40894e..feaa52ae0 100644 --- a/Engine/source/platform/threads/threadPool.cpp +++ b/Engine/source/platform/threads/threadPool.cpp @@ -446,8 +446,6 @@ void ThreadPool::flushWorkItems( S32 timeOut ) void ThreadPool::waitForAllItems( S32 timeOut ) { - AssertFatal( mNumPendingItems, "ThreadPool::waitForAllItems() - no items pending" ); - U32 endTime = 0; if( timeOut != -1 ) endTime = Platform::getRealMilliseconds() + timeOut;