search for: geonexit

Displaying 1 result from an estimated 1 matches for "geonexit".

Did you mean: conexit
2016 Sep 18
0
getGraphicsEvent() and setTimeLimit() bug and compatibility patch.
...tell, the values set with setTimeLimit() are checked in R_ProcessEvents(), which is defined separately in gnuwin32/system.c and unix/sys-unix.c. If a time limit is exceeded, it error()s out. That in turn percolates up and through jump_to_top_ex(), as defined in main/errors.c, which eventually calls GEonExit() in main/engine.c, a function meant to reset some state on graphics devices and which from the look of it and its comments was added to fix a similar bug with recordGraphics(). I've added a single line to GEonExit(), to also reset gettingEvent back to FALSE, which seems to have no side effect...