Scheduler: Remove redundant check in for_each_child
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
7b4cfd52cd
commit
52ce4b28aa
@ -33,7 +33,7 @@ namespace Scheduler
|
||||
{
|
||||
for (Thread* current = thread; current; current = g_threads.next(current).value_or(nullptr))
|
||||
{
|
||||
if (current && current->parent_id == thread->id)
|
||||
if (current->parent_id == thread->id)
|
||||
{
|
||||
bool should_continue = callback(current);
|
||||
if (!should_continue) return;
|
||||
|
Loading…
Reference in New Issue
Block a user