Fix TelegramStreamV2.Close()

master
Harald Wolff 2018-02-21 14:24:52 +01:00
parent b9f731f7d7
commit a5d8ec3a28
1 changed files with 4 additions and 2 deletions

View File

@ -37,8 +37,10 @@ public class TelegramStreamV2 extends ServiceLinkStream {
@Override @Override
void close() { void close() {
this.streamContainer.close(); if (this.streamContainer != null) {
exceptionCaught = true; this.streamContainer.close();
exceptionCaught = true;
}
} }
@Override @Override