Merge pull request #69 from eckovation/master

fixe added onClose
This commit is contained in:
Naoyuki Kanezawa
2016-09-27 23:21:51 +09:00
committed by GitHub

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();