0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-25 09:58:54 +02:00

ircd::run: Condition to invoke the wait() from context only.

This commit is contained in:
Jason Volk 2020-03-19 12:21:34 -07:00
parent abfb106125
commit eb4fdfd036

View file

@ -106,6 +106,7 @@ try
// Wait for any pending runlevel transition to complete before
// continuing with another transition.
if(ctx::current)
changed::dock.wait([]
{
return level == chadburn;