forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1524443 - Hold mozSpellChecker when using async IPC. r=masayuki
When using `CheckAsync` IPC, we don't hold `mozSpellChecker`. It causes that `mozSpellChecker` may be destroyed during IPC call. The destructor of `mozSpellChecker` destroys actor of spellchecker IPC via `Send__delete__`. Although IPC rejects pending promises of async IPC during destroying actor, it cannot remove replay messages from parent process. So route error occurs. So we have to keep `mozSpellChecker` during async IPC. And we cannot convert attached test case to crashtest or mochitest since this depends on navigation and timing. So I don't add it. Differential Revision: https://phabricator.services.mozilla.com/D30347 --HG-- extra : moz-landing-system : lando
- Loading branch information
1 parent
e65a7d6
commit d75677f
Showing
3 changed files
with
19 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters