mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-16 09:04:38 +00:00
Don't assert; sometimes there aren't any jobs to wait for!
This commit is contained in:
parent
b491d7bbc0
commit
e75a9fa081
1 changed files with 0 additions and 2 deletions
|
|
@ -446,8 +446,6 @@ void ThreadPool::flushWorkItems( S32 timeOut )
|
||||||
|
|
||||||
void ThreadPool::waitForAllItems( S32 timeOut )
|
void ThreadPool::waitForAllItems( S32 timeOut )
|
||||||
{
|
{
|
||||||
AssertFatal( mNumPendingItems, "ThreadPool::waitForAllItems() - no items pending" );
|
|
||||||
|
|
||||||
U32 endTime = 0;
|
U32 endTime = 0;
|
||||||
if( timeOut != -1 )
|
if( timeOut != -1 )
|
||||||
endTime = Platform::getRealMilliseconds() + timeOut;
|
endTime = Platform::getRealMilliseconds() + timeOut;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue