]> git.tdb.fi Git - libs/gui.git/commit
Use windowShouldClose rather than windowWillClose
authorMikko Rasa <tdb@tdb.fi>
Thu, 17 Oct 2013 07:40:01 +0000 (10:40 +0300)
committerMikko Rasa <tdb@tdb.fi>
Thu, 17 Oct 2013 07:40:01 +0000 (10:40 +0300)
commitb1dbcb05d3ec43654d78e2662ae22162561c8270
treed93903ece318989b86ed3d49a052f98619829618
parented2ada6539882e02e1054a3394bb62a182bf007b
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.
source/graphics/cocoa/cocoawindow.m