Exiting application

David Waern <[email protected]>
Newsgroups gmane.comp.lang.haskell.hopengl
Message-ID <[email protected]>
Hi.

How are you supposed to handle the event of a user who closes the hopengl
window? I see no way to detect this with the API. The main loop of hopengl
just keeps running.
 
Also, when I have the hopengl mainloop running and I destroy the current
window (or exit with System.Exit.exitWith), both ghci and hugs just dies
along with the app.

Am i doing something wrong?

Anyway, thanks for a good library.
David
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.