Skip to content

Conversation

@begelundmuller
Copy link
Contributor

The problem is that r.Instance(ctx, instanceID) returns the same cached value/pointer to all callers. So to avoid race conditions, it must not be mutated directly.

@grahamplata grahamplata merged commit 364b2cb into main Mar 31, 2025
10 of 11 checks passed
@grahamplata grahamplata deleted the begelundmuller/prevent-mutate-instance-in-place branch March 31, 2025 14:01
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.

3 participants