This commit is contained in:
Jonas Zeunert
2020-03-11 22:12:59 +01:00
parent 552c1e246b
commit dfe906fc57

View File

@@ -18,9 +18,7 @@ class Game:
async def run(self):
await self.is_running.acquire()
input_loop = asyncio.new_event_loop()
await input_loop.run_until_complete(self.input_handler.handleInputs())
input_loop.close()
await self.input_handler.handleInputs()
await self.is_running.wait()
pass