Skip to content

Commit

Permalink
chore(analysis): log disconnection
Browse files Browse the repository at this point in the history
  • Loading branch information
HagerDakroury committed Jul 22, 2021
1 parent a0b1650 commit aaa3858
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions analysis/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit aaa3858

Please sign in to comment.