+0
−2
+119
−131
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
When we fail to write to a local socket peer, we might still have data queued up to send to the other side. Defer closing the socket until we've failed to both read and write. Bug: http://b/74616284 Test: python test_device.py Change-Id: Ifc4b8fe95369b4872e475c2ae4ee611dd2d8b9d7