stop apps from hanging for a while on shutdown. allow automated testing tools to work again. b=343033 r=mento
git-svn-id: svn://10.0.0.236/trunk@218677 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user