Track tasks only during shutdown and tests (#4428)
* Track tasks only when needed * Tweak async_block_till_done
This commit is contained in:
1 parent
42c99b0ccb
commit
eacdce9ed9
4 files changed
+42
-48
No files matched your search
@@ -61,6 +61,7 @@ def setUpModule():
|
||||
target=loop.run_forever).start()
|
||||
|
||||
slave = remote.HomeAssistant(master_api, loop=loop)
|
||||
slave.async_track_tasks()
|
||||
slave.config.config_dir = get_test_config_dir()
|
||||
slave.config.skip_pip = True
|
||||
bootstrap.setup_component(
|
||||
|
||||
Reference in new issue
Block a user