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