1
0
Fork 0
mirror of https://gitlab.com/niansa/discord_llama.git synced 2025-03-06 20:48:25 +01:00

Ignore own task when scanning for own threads

This commit is contained in:
niansa 2023-05-21 22:01:40 +02:00
parent 82ca373e81
commit 7109e49292

View file

@ -801,8 +801,7 @@ public:
if (&task == other_task.get()) continue;
if (task.get_name() == other_task->get_name()) {
is_unique = false;
}
if (!other_task->is_suspended()) {
} else if (!other_task->is_suspended()) {
any_non_suspended = true;
}
}