Pebble LE/Pebble 2: Fix reconnect not working when first attempt fails

here
Andreas Shimokawa 2016-11-30 22:28:34 +01:00
parent 95ec1fb44c
commit b878fa5eda
1 changed files with 4 additions and 5 deletions

View File

@ -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) {