diff --git a/lib/libimhex/source/api/task_manager.cpp b/lib/libimhex/source/api/task_manager.cpp index c6c411036..34efcc672 100644 --- a/lib/libimhex/source/api/task_manager.cpp +++ b/lib/libimhex/source/api/task_manager.cpp @@ -209,7 +209,7 @@ namespace hex { if (!task) return false; - return !task->hadException(); + return task->hadException(); } bool TaskHolder::shouldInterrupt() const { @@ -217,7 +217,7 @@ namespace hex { if (!task) return false; - return !task->shouldInterrupt(); + return task->shouldInterrupt(); } bool TaskHolder::wasInterrupted() const { @@ -225,7 +225,7 @@ namespace hex { if (!task) return false; - return !task->wasInterrupted(); + return task->wasInterrupted(); } void TaskHolder::interrupt() const {