Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Crash on Windows with Go 1.12 #73

Closed
hajimehoshi opened this issue Apr 2, 2019 · 0 comments
Closed

Crash on Windows with Go 1.12 #73

hajimehoshi opened this issue Apr 2, 2019 · 0 comments
Labels

Comments

@hajimehoshi
Copy link
Member

This depends on GC timing. At waveOutOpen, the argument f is a pointer of a struct and the struct might be GCed before finishing waveOutOpen.

runtime.KeepAlive fixes this.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant