fixed added onClose

This commit is contained in:
Akshat Goel
2016-09-26 20:53:59 +05:30
parent b46c144bfb
commit 1e72b45077

View File

@@ -192,7 +192,7 @@ public class WebSocket extends Transport {
} }
} catch (IOException e) { } catch (IOException e) {
logger.fine("websocket closed before onclose event"); logger.fine("websocket closed before onclose event");
close(); doClose();
} }
if (0 == --total[0]) done.run(); if (0 == --total[0]) done.run();