removed the doClose() inside catcher of IllegalStateException

This commit is contained in:
Akshat Goel
2016-10-12 11:50:23 +05:30
parent 35b2fa93fa
commit eb127d97e4

View File

@@ -192,7 +192,6 @@ public class WebSocket extends Transport {
}
} catch (IllegalStateException e) {
logger.fine("websocket closed before we could write");
doClose();
} catch (IOException e) {
logger.fine("websocket closed before onclose event");
doClose();