Closed hajimehoshi closed 4 months ago
ffb77757f0ed50a61b1b8a218a43695a6f262918
go version
go version go1.22.3 darwin/arm64
Just run an iOS application with Ebitengine. This is a known issue in audio/error_ios.go
audio/error_ios.go
The function is thread safe (and warnings are shown)
The function is not thread safe
Use https://developer.apple.com/documentation/foundation/nsthread/1412704-ismainthread
Ebitengine Version
ffb77757f0ed50a61b1b8a218a43695a6f262918
Operating System
Go Version (
go version
)go version go1.22.3 darwin/arm64
What steps will reproduce the problem?
Just run an iOS application with Ebitengine. This is a known issue in
audio/error_ios.go
What is the expected result?
The function is thread safe (and warnings are shown)
What happens instead?
The function is not thread safe
Anything else you feel useful to add?
Use https://developer.apple.com/documentation/foundation/nsthread/1412704-ismainthread