0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-26 08:42:34 +01:00

modules/client/sync: Must wait for parallel completion before copying ret.

This commit is contained in:
Jason Volk 2019-03-03 16:23:10 -08:00
parent f1bca6de7e
commit e93e460f22
2 changed files with 2 additions and 0 deletions

View file

@ -153,5 +153,6 @@ ircd::m::sync::presence_polylog(data &data)
parallel(); parallel();
}); });
parallel.wait_done();
return ret; return ret;
} }

View file

@ -135,5 +135,6 @@ ircd::m::sync::room_state_polylog_events(data &data)
parallel(event_idx); parallel(event_idx);
}); });
parallel.wait_done();
return ret; return ret;
} }