From aaa38587552deedd35020dd94a4e6be4b246a05f Mon Sep 17 00:00:00 2001
From: Hager Eldakroury <hagerdakroury@gmail.com>
Date: Fri, 23 Jul 2021 00:37:39 +0200
Subject: [PATCH] chore(analysis): log disconnection

---
 analysis/index.ts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/analysis/index.ts b/analysis/index.ts
index b713d85..7c77c37 100644
--- a/analysis/index.ts
+++ b/analysis/index.ts
@@ -90,6 +90,7 @@ io.on("connection", (socket: any) => {
   );
 
   socket.on("disconnect", () => {
+    console.log("socket " + socket.id + " is disconnecting");
     var socketId = socket.id;
     if (socketId in sockets && student && meeting) {
       var meeting = socketId.meeting;