diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-08 15:18:07 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-08 15:18:07 +0000 |
commit | 328078c4d259e52db1a4848c00ee0b420775c91c (patch) | |
tree | ca9b0e61a1c03f0246b0371423bbbe570193e2f1 /widget/cocoa/MOZMenuOpeningCoordinator.mm | |
parent | Adding upstream version 115.8.0esr. (diff) | |
download | firefox-esr-328078c4d259e52db1a4848c00ee0b420775c91c.tar.xz firefox-esr-328078c4d259e52db1a4848c00ee0b420775c91c.zip |
Adding upstream version 115.9.0esr.upstream/115.9.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'widget/cocoa/MOZMenuOpeningCoordinator.mm')
-rw-r--r-- | widget/cocoa/MOZMenuOpeningCoordinator.mm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/widget/cocoa/MOZMenuOpeningCoordinator.mm b/widget/cocoa/MOZMenuOpeningCoordinator.mm index 3ac4d8385f..bc78b3778c 100644 --- a/widget/cocoa/MOZMenuOpeningCoordinator.mm +++ b/widget/cocoa/MOZMenuOpeningCoordinator.mm @@ -122,6 +122,9 @@ static BOOL sNeedToUnwindForMenuClosing = NO; - (void)cancelAsynchronousOpening:(NSInteger)aHandle { if (mPendingOpening && mPendingOpening.handle == aHandle) { + [NSObject cancelPreviousPerformRequestsWithTarget:self + selector:@selector(_runMenu) + object:nil]; [mPendingOpening release]; mPendingOpening = nil; } |