mirror of
https://github.com/SFML/SFML.git
synced 2024-11-29 06:41:05 +08:00
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:
parent
95068deecc
commit
cf779be180
@ -308,6 +308,8 @@
|
|||||||
-(void)closeWindow
|
-(void)closeWindow
|
||||||
{
|
{
|
||||||
[myWindow close];
|
[myWindow close];
|
||||||
|
[myWindow setDelegate:nil];
|
||||||
|
[self setRequesterTo:0];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user