pure-python-adb icon indicating copy to clipboard operation
pure-python-adb copied to clipboard

Connection read() gives blank output incase device disconnects and reconnects again

Open saibhaskar24 opened this issue 3 years ago • 0 comments

When adding handler to shell() call for adb logcat and device get disconnected then it starts printing empty string. When we reconnect the device still the output is blank.

I am trying to run shell() in thread.

I went through the code and saw it's done using socket file and i feel socket closes with some error and it's unable to reconnect itself once device is up.

ppadb/connection.py

do we have any solution for this?

saibhaskar24 avatar Dec 15 '22 16:12 saibhaskar24