mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Bugfix mqtt socket memory error (#6501)
* Bugfix mqtt socket memory error * Fix tests * Fix lint
This commit is contained in:
committed by
Paulus Schoutsen
parent
855756cb2a
commit
20fcd1f0e2
@@ -51,7 +51,7 @@ def async_dispatcher_connect(hass, signal, target):
|
||||
|
||||
def dispatcher_send(hass, signal, *args):
|
||||
"""Send signal and data."""
|
||||
hass.add_job(async_dispatcher_send, hass, signal, *args)
|
||||
hass.loop.call_soon_threadsafe(async_dispatcher_send, hass, signal, *args)
|
||||
|
||||
|
||||
@callback
|
||||
|
||||
Reference in New Issue
Block a user