mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 17:27:10 +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:
|
||||
with suppress(TypeError):
|
||||
process.kill()
|
||||
# https://bugs.python.org/issue43884
|
||||
# pylint: disable=protected-access
|
||||
process._transport.close() # type: ignore[attr-defined]
|
||||
del process
|
||||
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user