Commit 7232e51a68155b7d84a0181cb242088c2d1d4b6d

Ryan C. Gordon 2015-06-08T01:52:43

Unix: Don't send quit events during signal handler. Make note to send it, and send next time we SDL_PumpEvents(). Otherwise, we might be trying to use malloc() to push a new event on the queue while a signal is interrupting malloc() elsewhere, usually causing a crash. Fixes Bugzilla #2870.