mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 13:55:43 +00:00
stop apps from hanging for a while on shutdown. allow automated testing tools to work again. b=343033 r=mento
This commit is contained in:
parent
d3aa4afaeb
commit
525913688b
@ -196,6 +196,17 @@ nsAppShell::ProcessGeckoEvents()
|
||||
}
|
||||
|
||||
NativeEventCallback();
|
||||
|
||||
[NSApp postEvent:[NSEvent otherEventWithType:NSApplicationDefined
|
||||
location:NSMakePoint(0,0)
|
||||
modifierFlags:0
|
||||
timestamp:0
|
||||
windowNumber:-1
|
||||
context:NULL
|
||||
subtype:0
|
||||
data1:0
|
||||
data2:0]
|
||||
atStart:NO];
|
||||
}
|
||||
|
||||
// WillTerminate
|
||||
|
Loading…
Reference in New Issue
Block a user