[serial] Handle fatal read and write errors correctly
This change adds special handling for read and write errors for which recovery is impossible (i.e. disconnection). In this case the readable and writeable attribute are not initialized with new streams on demand. Bug: 1013763 Change-Id: Ibd03cb684cb34cf9a8b22848f7b9ebc50f4d6621 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1884357Reviewed-by:Matt Reynolds <mattreynolds@chromium.org> Commit-Queue: Reilly Grant <reillyg@chromium.org> Cr-Commit-Position: refs/heads/master@{#710088}
Showing
Please register or sign in to comment