Fix initial display on Hall. Understand the 'double close event bug'
[vchess.git] / server / sockets.js
index ba14df9..7f0d14e 100644 (file)
@@ -201,7 +201,7 @@ module.exports = function(wss) {
       }
     };
     const closeListener = () => {
-      // For tab or browser closing:
+      // For browser or tab closing (including page reload):
       doDisconnect();
     };
     // Update clients object: add new connexion