diff --git a/lib/libimhex/source/api/task.cpp b/lib/libimhex/source/api/task.cpp index 53735e3f4..3ce4b7f65 100644 --- a/lib/libimhex/source/api/task.cpp +++ b/lib/libimhex/source/api/task.cpp @@ -192,7 +192,6 @@ namespace hex { } void TaskManager::runner(const std::stop_token &stopToken) { - std::mutex mutex; while (true) { std::shared_ptr task; { @@ -302,4 +301,4 @@ namespace hex { s_tasksFinishedCallbacks.push_back(function); } -} \ No newline at end of file +}