Open humanlang opened 11 years ago
This is a problem when Chrome uses Pepperflash. Not only onDisconnect, but also onUnsubscribe is not called. Which makes a lot of realtime apps fail. I use onFail, but this is fired at least 180secs after real disconnection. Hope Google will fix the issue with pepperflash. To fix it - disable it from chrome://plugins
Yes I confirm, a new bug in the pepperflash version :-( I can do nothing against it on server side: The server receives nothing on tab closure (here is the bug), so the server learns the client death after the timeout keepalive without response... (~180sec... this time allows a reconnection client without connection lost... even with new ip and port).
i have fixed this by calling onUnsubscribe from my flash application using onbeforeclose events. and i saved my life :)
@kalinbogatzevski, would you mind giving us an example of your implementation?
Thanks!
onDisconnect not call when Chrome tabpage is closed, Chrome ver:22.0.1229.79 m and others new version have this issue, but in 18...\ old version is OK, firefox and IE are OK, i think this is a import issue, because Groups can't refresh for long time util server check some clients has close connect.