Skip to content

Fix duplicate user bug#21

Merged
adarshm11 merged 1 commit into
mainfrom
bug/duplicate-user
Jun 6, 2026
Merged

Fix duplicate user bug#21
adarshm11 merged 1 commit into
mainfrom
bug/duplicate-user

Conversation

@adarshm11
Copy link
Copy Markdown
Collaborator

Bug Description

Previously, when a user was logged into an interview room in one tab, and tried to join again from another tab, a goroutine would panic when trying to remove one of the users. While this is not a functionality that is necessarily supposed to be allowed, goroutine panics are dangerous for server health. This PR addresses the bug by detecting when a user is already present in the room in another tab, and disallowing joining from a secondary tab.

@adarshm11 adarshm11 merged commit 6a2ec21 into main Jun 6, 2026
1 check passed
@adarshm11 adarshm11 deleted the bug/duplicate-user branch June 6, 2026 05:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant