We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When running the following code with the -race flag on a Mac Mini (Apple M2), a data-race issue occurs:
-race
otoCtx, readyChan, err := oto.NewContext(op) if err != nil { panic("oto.NewContext failed: " + err.Error()) }
The issue is evident in the following screenshot:
Fortunately, this issue can be easily resolved by modifying a single line in driver_darwin.go
driver_darwin.go
oto/driver_darwin.go
Line 161 in 03f5f70
Changing the line to:
<-ready
ensures that the readiness is awaited. I have tested this solution and it works correctly in my case.
The text was updated successfully, but these errors were encountered:
b2e2cd5
Thanks, fixed!
Sorry, something went wrong.
No branches or pull requests
When running the following code with the
-race
flag on a Mac Mini (Apple M2), a data-race issue occurs:The issue is evident in the following screenshot:
Fortunately, this issue can be easily resolved by modifying a single line in
driver_darwin.go
oto/driver_darwin.go
Line 161 in 03f5f70
Changing the line to:
ensures that the readiness is awaited. I have tested this solution and it works correctly in my case.
The text was updated successfully, but these errors were encountered: