From 999bec21d3c30b05bc42800edf3107d1cc15cdbd Mon Sep 17 00:00:00 2001 From: "mark%moxienet.com" Date: Thu, 15 Jun 2006 17:24:25 +0000 Subject: [PATCH] 338728 Don't dispatch native events after [NSApplication terminate:] is called. r=josh sr=darin --- widget/src/cocoa/nsAppShell.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/widget/src/cocoa/nsAppShell.h b/widget/src/cocoa/nsAppShell.h index 66b1f9477315..ccc9cd3bb568 100644 --- a/widget/src/cocoa/nsAppShell.h +++ b/widget/src/cocoa/nsAppShell.h @@ -62,6 +62,7 @@ public: // public only to be visible to Objective-C code that must call it void ProcessGeckoEvents(); + void WillTerminate(); protected: virtual ~nsAppShell(); @@ -76,7 +77,8 @@ protected: NSPort* mPort; AppShellDelegate* mDelegate; - PRBool mRunningEventLoop; + PRPackedBool mRunningEventLoop; + PRPackedBool mTerminated; }; #endif // nsAppShell_h__