don't close socket on disconnect

This commit is contained in:
Daniel Gultsch 2015-11-01 07:45:00 +01:00
parent baf76d883c
commit fb9ba0a734

View file

@ -1170,7 +1170,6 @@ public class XmppConnection implements Runnable {
}
Log.d(Config.LOGTAG,account.getJid().toBareJid()+": closing stream");
tagWriter.writeTag(Tag.end("stream:stream"));
socket.close();
} catch (final IOException e) {
Log.d(Config.LOGTAG,account.getJid().toBareJid()+": io exception during disconnect ("+e.getMessage()+")");
} catch (final InterruptedException e) {