Pebble LE/Pebble 2: Fix reconnect not working when first attempt fails
This commit is contained in:
parent
95ec1fb44c
commit
b878fa5eda
|
@ -76,13 +76,12 @@ public class PebbleLESupport {
|
|||
} catch (InterruptedException e) {
|
||||
LOG.error(e.getMessage());
|
||||
}
|
||||
try {
|
||||
mPipedOutputStream.close();
|
||||
} catch (IOException ignore) {
|
||||
}
|
||||
|
||||
mPipeReader = null;
|
||||
}
|
||||
try {
|
||||
mPipedInputStream.close();
|
||||
} catch (IOException ignore) {
|
||||
}
|
||||
}
|
||||
|
||||
void setMTU(int mtu) {
|
||||
|
|
Loading…
Reference in New Issue