Friday 19 May 2017

Delay in firing socket.on("disconnect") on mac only

My code works flawlessly on a lot of windows computers, but for some reason on any browser on the mac it does not trigger socket.on("disconnect") when they close the window on the browser. What is the cause of this? I found out that the source of the problem is the server sending coordinates and data to the client every 1000/60 ms but it doesn't explain why it doesn't work on the mac..



via anduyang

No comments:

Post a Comment