Pārlūkot izejas kodu

Don't assert; sometimes there aren't any jobs to wait for!

Daniel Buckmaster 10 gadi atpakaļ
vecāks
revīzija
e75a9fa081
1 mainītis faili ar 0 papildinājumiem un 2 dzēšanām
  1. 0 2
      Engine/source/platform/threads/threadPool.cpp

+ 0 - 2
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;