Process Cocoa events after window close

Workaround issue where the window remains open if events are not
processed.
This commit is contained in:
jqdg 2021-08-07 23:49:26 -07:00 committed by Lukas Dürrenberger
parent f162b3a037
commit 7ff34cdc86

View File

@ -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];
} }