Do not wait for external tasks in run

This commit is contained in:
Romuald Juchnowicz-Bierbasz
2019-09-18 12:15:18 +02:00
parent aa7b398d3b
commit d5610221a9
7 changed files with 13 additions and 14 deletions

View File

@@ -174,7 +174,6 @@ class Plugin:
async def run(self):
"""Plugin's main coroutine."""
await self._server.run()
await self._external_task_manager.wait()
def close(self) -> None:
if not self._active: