Skip to content

Running from another go routine (systray)? glfw: DestroyWindow failed: Access is denied. #3156

Closed Answered by hajimehoshi
phrozen asked this question in Q&A
Discussion options

You must be logged in to vote

There is a restriction that RunGame must be called from the main goroutine: https://pkg.go.dev/github.com/hajimehoshi/ebiten/v2#RunGame Were you trying to call this from different goroutines?

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@phrozen
Comment options

@hajimehoshi
Comment options

@phrozen
Comment options

@hajimehoshi
Comment options

@phrozen
Comment options

Answer selected by phrozen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants