Skip to content

Commit

Permalink
Backed out changeset 4bbe309179a5 (bug 1866098) for causing bc failur…
Browse files Browse the repository at this point in the history
…es related to browser_startup. CLOSED TREE

UltraBlame original commit: 556c8b22cbbbcc165c42b2c52ebdfd01be3cee6b
  • Loading branch information
marco-c committed Nov 30, 2023
1 parent e961ea9 commit 4f2be16
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 10 deletions.
10 changes: 0 additions & 10 deletions toolkit/xre/MacApplicationDelegate.mm
Original file line number Diff line number Diff line change
Expand Up @@ -936,13 +936,6 @@
)
notification
{
dispatch_async
(
dispatch_get_main_queue
(
)
^
{
if
(
sLaunchStatus
Expand Down Expand Up @@ -1006,9 +999,6 @@
;
}
}
)
;
}
-
(
NSApplicationTerminateReply
Expand Down
7 changes: 7 additions & 0 deletions widget/cocoa/nsAppShell.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@ GeckoNSApplication
NSApplication
{
}
property
(
readonly
)
BOOL
didLaunch
;
end
class
AppShellDelegate
Expand Down
33 changes: 33 additions & 0 deletions widget/cocoa/nsAppShell.mm
Original file line number Diff line number Diff line change
Expand Up @@ -834,6 +834,22 @@
(
void
)
run
{
_didLaunch
=
YES
;
[
super
run
]
;
}
-
(
void
)
sendEvent
:
(
Expand Down Expand Up @@ -923,6 +939,14 @@
)
flag
{
MOZ_ASSERT
(
[
NSApp
didLaunch
]
)
;
if
(
expiration
Expand Down Expand Up @@ -2551,6 +2575,15 @@
if
(
aMayWait
&
&
[
[
GeckoNSApplication
sharedApplication
]
didLaunch
]
)
{
currentMode
Expand Down

0 comments on commit 4f2be16

Please sign in to comment.