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
1 changed files with 0 additions and 1 deletions

View File

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