0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-15 14:31:11 +01:00

ircd::run: Notify the changed::dock inside call_users.

This commit is contained in:
Jason Volk 2019-09-08 15:00:51 -07:00
parent af1d6e20cd
commit 7cc029d726

View file

@ -436,7 +436,6 @@ try
};
_level = new_level;
changed::dock.notify_all();
// This latch is used to block this call when setting the level
// from an ircd::ctx. If the level is set from the main stack then
@ -463,6 +462,7 @@ try
else
log::flush();
changed::dock.notify_all();
for(const auto &handler : changed::list) try
{
(*handler)(new_level);