mirror of
https://github.com/home-assistant/core
synced 2024-10-15 09:47:19 +00:00
164403de20
* Add thread safety checks to async_create_task Calling async_create_task from a thread almost always results in an fast crash. Since most internals are using async_create_background_task or other task APIs, and this is the one integrations seem to get wrong the most, add a thread safety check here * Add thread safety checks to async_create_task Calling async_create_task from a thread almost always results in an fast crash. Since most internals are using async_create_background_task or other task APIs, and this is the one integrations seem to get wrong the most, add a thread safety check here * missed one * Update homeassistant/core.py * fix mocks * one more internal * more places where internal can be used * more places where internal can be used * more places where internal can be used * internal one more place since this is high volume and was already eager_start |
||
---|---|---|
.. | ||
auth | ||
backports | ||
brands | ||
components | ||
generated | ||
helpers | ||
scripts | ||
util | ||
__init__.py | ||
__main__.py | ||
block_async_io.py | ||
bootstrap.py | ||
config.py | ||
config_entries.py | ||
const.py | ||
core.py | ||
data_entry_flow.py | ||
exceptions.py | ||
loader.py | ||
package_constraints.txt | ||
py.typed | ||
requirements.py | ||
runner.py | ||
setup.py | ||
strings.json |