Adding invalid device variable check
This commit is contained in:
parent
548f6b2f16
commit
8755f2e108
|
@ -277,6 +277,9 @@ class Session
|
|||
//create new coroutines and assign them to free devices
|
||||
foreach($devices as $device)
|
||||
{
|
||||
if(!$device)
|
||||
continue;
|
||||
|
||||
if(sizeof($tasks) == 0)
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue