diff --git a/modules/federation/sender.cc b/modules/federation/sender.cc index 0e934e6ea..d17cf21c6 100644 --- a/modules/federation/sender.cc +++ b/modules/federation/sender.cc @@ -57,7 +57,7 @@ send_worker() // In order to synchronize with the vm core, this context has to // maintain this shared_lock at all times. If this is unlocked we // can miss an event being broadcast. - std::shared_lock lock + std::unique_lock lock { m::vm::accept };