mirror of
https://github.com/Mezeporta/Erupe.git
synced 2026-03-21 23:22:34 +01:00
fix: resolve data race in token.RNG global
Wrap *rand.Rand in a mutex-protected SafeRand type to make the global RNG safe for concurrent use across goroutines. The previous bare *rand.Rand caused data races detected by go test -race.
This commit is contained in:
@@ -39,6 +39,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- Fixed save operation ordering - now saves data before session cleanup instead of after
|
||||
- Fixed stale transmog/armor appearance shown to other players - user binary cache now invalidated when plate data is saved
|
||||
- Fixed server crash when Discord relay receives messages with unsupported Shift-JIS characters (emoji, Lenny faces, cuneiform, etc.)
|
||||
- Fixed data race in token.RNG global used concurrently across goroutines
|
||||
|
||||
### Security
|
||||
|
||||
|
||||
Reference in New Issue
Block a user