Connection read() gives blank output incase device disconnects and reconnects again
saibhaskar24 opened this issue · 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?