Skip to content

Fix a potential panic in Server.GetTasks()#55

Merged
kalbhor merged 1 commit intokalbhor:mainfrom
js-ojus:js
Feb 24, 2025
Merged

Fix a potential panic in Server.GetTasks()#55
kalbhor merged 1 commit intokalbhor:mainfrom
js-ojus:js

Conversation

@js-ojus
Copy link
Contributor

@js-ojus js-ojus commented Feb 22, 2025

Keep the mutex locked while copying task names.

Fixes #54.

Keep the mutex locked while copying task names.
@kalbhor kalbhor merged commit 6ce7661 into kalbhor:main Feb 24, 2025
1 check passed
@js-ojus js-ojus deleted the js branch February 24, 2025 05:34
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.

Should a defensive copy of the tasks list be made?

2 participants