Skip to content

eglut_wayland: terminate mainloop on display-close

Erik Faye-Lund requested to merge kusma/mesa-demos:fix-eglut-crash-on-exit into main

When we're closing the native display, we can't really keep processing events. Let's terminate the mainloop to prevent crashes.

It's not clear to me why this used to work, but it seems like somehow the frame-callback saved us.

Fixes: 12ff8b7b ("eglut_wayland: do not use frame-listener") Closes: #28 (closed)

Merge request reports

Loading