OSX, fix random crash with sf::Window::Create

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1777 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
mantognini 2011-01-23 23:42:48 +00:00
parent 95068deecc
commit cf779be180

View File

@ -308,6 +308,8 @@
-(void)closeWindow -(void)closeWindow
{ {
[myWindow close]; [myWindow close];
[myWindow setDelegate:nil];
[self setRequesterTo:0];
} }