close transport

This commit is contained in:
Giemsa 2016-10-24 00:43:54 +09:00 committed by Samuel Carlsson
parent af7b8ec5ab
commit b50590f411

View File

@ -70,7 +70,9 @@ public class JadbDevice {
transport.verifyResponse();
}
return convertState(transport.readString());
State state = convertState(transport.readString());
transport.close();
return state;
}
public InputStream executeShell(String command, String... args) throws IOException, JadbException {