Process Cocoa events after window close
Workaround issue where the window remains open if events are not processed.
This commit is contained in:
parent
f162b3a037
commit
7ff34cdc86
@ -512,6 +512,7 @@
|
|||||||
[m_window close];
|
[m_window close];
|
||||||
[m_window setDelegate:nil];
|
[m_window setDelegate:nil];
|
||||||
[self setRequesterTo:0];
|
[self setRequesterTo:0];
|
||||||
|
[SFApplication processEvent];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user