Write to log if an event stream is closed

This commit is contained in:
Paulus Schoutsen 2015-02-15 16:44:25 -08:00
parent c8cbb8ebb5
commit 3ee2c6e210

View File

@ -115,6 +115,8 @@ def _handle_get_api_stream(handler, path_match, data):
block.wait()
_LOGGER.info("Found broken event stream to %s, cleaning up",
handler.client_address[0])
hass.bus.remove_listener(MATCH_ALL, event_sourcer)