0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-25 23:14:13 +01:00

modules/federation/sender: Checkpoint this until vm notify is fixed.

This commit is contained in:
Jason Volk 2018-09-04 22:50:23 -07:00
parent bc01919298
commit a6b4bc976f

View file

@ -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<decltype(m::vm::accept)> lock
std::unique_lock<decltype(m::vm::accept)> lock
{
m::vm::accept
};