Skip to content

Fix handling of panics in GetOrCreate#10

Merged
bep merged 1 commit intomainfrom
fix/handlepanic
Oct 26, 2024
Merged

Fix handling of panics in GetOrCreate#10
bep merged 1 commit intomainfrom
fix/handlepanic

Conversation

@bep
Copy link
Owner

@bep bep commented Oct 26, 2024

One could argue that the func passed in should never panic, but before this commit this could easily lead to deadlocks.

One could argue that the func passed in should never panic, but before this commit this could easily lead to deadlocks.
@bep bep merged commit 24e43a4 into main Oct 26, 2024
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