Update src/machine_manager/machine_manager.hpp

Co-authored-by: Kostas Kyrimis  <kostaskyrim@gmail.com>
This commit is contained in:
Tyler Neely 2022-11-04 12:27:40 +01:00 committed by GitHub
parent 24864ff7d2
commit 43ad5855c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -94,7 +94,7 @@ class MachineManager {
~MachineManager() {
if (coordinator_handle_.joinable()) {
coordinator_queue_.Push(coordinator::coordinator_worker::ShutDown{});
std::move(coordinator_handle_).join();
coordinator_handle_.join();
}
}