Opened 14 years ago
Last modified 14 years ago
#24 closed defect
GLFW-b doesn't reset resolution if the user function throws an exception — at Version 1
| Reported by: | Ben Lippmeier | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Unknown | Version: | 1.5.0 |
| Keywords: | Cc: |
Description (last modified by )
On 07/01/2012, at 17:57 , Thomas DuBuisson wrote:
It seems when I throw an exception inside animate GLFW-b fails to reset the proper resolution:
import Graphics.Gloss main = do animate (FullScreen (500,500)) black (rectangleSolid (error "hi"))
Change History (2)
comment:1 Changed 14 years ago by
| Description: | modified (diff) |
|---|
Changed 14 years ago by
| Attachment: | CleanExitOnExcpetions.patch added |
|---|
Note: See
TracTickets for help on using
tickets.

Catch exceptions / Fix the screen resolution on exit