I don't know why but I am still getting this error on my website (hosted on nodejitsu.com). If am I testing project on localhost everything goes well, but if I open it in browser this error is showing..
I was searching for this issue, but I didn't find anything usefull..
This does the trick:
$(window).on('beforeunload', function(){
socket.close();
});
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With