1
0
mirror of https://github.com/danog/MadelineProto.git synced 2025-01-22 15:51:15 +01:00
This commit is contained in:
Daniil Gentili 2021-04-25 12:12:55 +02:00
parent d4e06ea448
commit 19e518c9f9
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -157,7 +157,7 @@ class Server extends SignalLoop
return new Success;
}
self::$shutdownDeferred ??= new Deferred;
return self::$shutdownDeferred;
return self::$shutdownDeferred->promise();
}
/**
* Main loop.