mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 13:45:12 +02:00
fix bug with endless running
This commit is contained in:
@@ -190,10 +190,10 @@ class HomeAssistant(object):
|
||||
_LOGGER.info("Starting Home Assistant core loop")
|
||||
self.loop.run_forever()
|
||||
except KeyboardInterrupt:
|
||||
pass
|
||||
finally:
|
||||
self.loop.call_soon(stop_homeassistant)
|
||||
self.loop.run_forever()
|
||||
finally:
|
||||
self.loop.close()
|
||||
|
||||
@asyncio.coroutine
|
||||
def async_start(self):
|
||||
|
Reference in New Issue
Block a user