Mark as ready closer to tick()

This commit is contained in:
Kovid Goyal 2020-12-06 13:18:37 +05:30
parent 8d22053bed
commit 64c8a32c2f
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -492,10 +492,10 @@ class ServerLoop(object):
self.pool.start()
with TemporaryDirectory(prefix='srv-') as tdir:
self.tdir = tdir
self.ready = True
if self.LISTENING_MSG:
self.log(self.LISTENING_MSG, ba)
self.plugin_pool.start()
self.ready = True
while self.ready:
try: