Skip to content

Commit

Permalink
fix window not closing on osx (#3252)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonDanisch authored Sep 25, 2023
1 parent ed836a0 commit bcb45af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions GLMakie/src/screen.jl
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,8 @@ function Base.close(screen::Screen; reuse=true)
end
GLFW.SetWindowShouldClose(screen.glscreen, true)
GLFW.PollEvents()
# Somehow, on osx, we need to hide the screen a second time!
set_screen_visibility!(screen, false)
return
end

Expand Down

0 comments on commit bcb45af

Please sign in to comment.