Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

server: use sync.Map for managing running sessions #103

Merged
merged 1 commit into from
Jan 10, 2024

Conversation

francoismichel
Copy link
Owner

Until now, the server used a classical go map for handling sessions that could lead to undefined behaviour (cf #80).

This PR fixes that by using a the sync.Map standard type.

@francoismichel francoismichel merged commit 660a6ab into main Jan 10, 2024
29 checks passed
@francoismichel francoismichel deleted the server_syncmap branch January 10, 2024 10:47
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.

None yet

1 participant