bug 704217 - Quit doesn't work before Gecko is up r=dougt
This commit is contained in:
@@ -479,7 +479,8 @@ public class GeckoAppShell
|
||||
|
||||
layerController.notifyLayerClientOfGeometryChange();
|
||||
}
|
||||
private static void sendPendingEventsToGecko() {
|
||||
|
||||
static void sendPendingEventsToGecko() {
|
||||
try {
|
||||
while (!gPendingEvents.isEmpty()) {
|
||||
GeckoEvent e = gPendingEvents.removeFirst();
|
||||
@@ -612,13 +613,6 @@ public class GeckoAppShell
|
||||
mInputConnection.returnIMEQueryResult(result, selectionStart, selectionLength);
|
||||
}
|
||||
|
||||
static void onAppShellReady()
|
||||
{
|
||||
// mLaunchState can only be Launched at this point
|
||||
GeckoApp.mAppContext.setLaunchState(GeckoApp.LaunchState.GeckoRunning);
|
||||
sendPendingEventsToGecko();
|
||||
}
|
||||
|
||||
static void onXreExit() {
|
||||
// mLaunchState can only be Launched or GeckoRunning at this point
|
||||
GeckoApp.mAppContext.setLaunchState(GeckoApp.LaunchState.GeckoExiting);
|
||||
|
||||
Reference in New Issue
Block a user