From: Mikko Rasa Date: Thu, 17 Oct 2013 07:40:01 +0000 (+0300) Subject: Use windowShouldClose rather than windowWillClose X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=b1dbcb05d3ec43654d78e2662ae22162561c8270;hp=b1dbcb05d3ec43654d78e2662ae22162561c8270;p=libs%2Fgui.git Use windowShouldClose rather than windowWillClose This prevents a crash when the autorelease pool is released (no clue what exactly goes wrong) and allows the application to decide whether to close the window or not. ---