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:
parent
82ca373e81
commit
7109e49292
1 changed files with 1 additions and 2 deletions
3
main.cpp
3
main.cpp
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue