yutani: allow mainloop to be set up early so tasks can be scheduled

This commit is contained in:
K. Lange 2023-04-08 14:31:54 +09:00
parent a99b646430
commit fd5070e2d3

View File

@ -202,3 +202,5 @@ class AsyncMainloop():
while not self.should_exit:
self.run_once()
def activate(self):
current_loop = self