mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 09:47:13 +00:00
Fix CI failing due to Shell Command exception (#52483)
This commit is contained in:
parent
6d9628423c
commit
6fc5a6a065
@ -92,6 +92,9 @@ async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
|
|||||||
if process:
|
if process:
|
||||||
with suppress(TypeError):
|
with suppress(TypeError):
|
||||||
process.kill()
|
process.kill()
|
||||||
|
# https://bugs.python.org/issue43884
|
||||||
|
# pylint: disable=protected-access
|
||||||
|
process._transport.close() # type: ignore[attr-defined]
|
||||||
del process
|
del process
|
||||||
|
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user