tiger154 / jwebsocket

Automatically exported from code.google.com/p/jwebsocket
1 stars 0 forks source link

onmessage not fired when connector stopped #198

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When I call the sendPacket() method in WebSocketConnector followed by the 
stopConnector() method, then the onmessage() function in the browser is not 
fired if onclose() was fired first. Sometimes it first calls the onmessage() 
function though.
Is there a way to make sure the server sent the packet before it stops the 
connector?

Original issue reported on code.google.com by zwergka...@gmail.com on 26 Jul 2013 at 8:46