1
0
mirror of synced 2025-02-06 22:24:24 +01:00

impr: Remove an unused std::mutex in TaskManager::runner (#1088)

This commit is contained in:
KOLANICH 2023-05-20 11:38:12 +00:00 committed by GitHub
parent 749823e044
commit 4faebf435c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -192,7 +192,6 @@ namespace hex {
} }
void TaskManager::runner(const std::stop_token &stopToken) { void TaskManager::runner(const std::stop_token &stopToken) {
std::mutex mutex;
while (true) { while (true) {
std::shared_ptr<Task> task; std::shared_ptr<Task> task;
{ {