Skip to content

Commit

Permalink
fix silly bug
Browse files Browse the repository at this point in the history
  • Loading branch information
David-Haim committed Apr 22, 2024
1 parent 6e559f7 commit ab8e6b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/executors/worker_thread_executor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ void worker_thread_executor::shutdown() {
decltype(m_thread) worker;
{
std::unique_lock<std::mutex> lock(m_lock);
worker = std::move(worker);
worker = std::move(m_thread);
}

if (worker.joinable()) {
Expand Down

0 comments on commit ab8e6b9

Please sign in to comment.