You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the serial connection is closed or lost, _call_connection_lost() is scheduled on the loop from _abort() or _close(). From there, _serial.close() is called here:
When the serial connection is closed or lost,
_call_connection_lost()
is scheduled on the loop from_abort()
or_close()
. From there,_serial.close()
is called here:pyserial-asyncio/serial_asyncio/__init__.py
Line 417 in 44d4701
Unfortunately,
_serial.close()
callstime.sleep(0.3)
in certain cases (e.g. here), which blocks the entire loop for its duration.See also: home-assistant/core#67430 where the problem was first mentioned.
The text was updated successfully, but these errors were encountered: