зеркало из https://github.com/mozilla/gecko-dev.git
37130e3638
With the changes to EditorSpellCheck::SetFallbackDictionary to use a promise chain to support calling either SetCurrentDictionaryFromList or SetCurrentDictionaries as required, it is now possible that RemoteSpellCheckEngineChild is destroyed by the time the second promise runs. During destruction, RemoteSpellCheckEngineChild calls mozSpellChecker::DeleteRemoteEngine, which sets mEngine to nullptr. This patch adds a nullptr check for mEngine in both SetCurrentDictionaryFromList and SetCurrentDictionaries. Differential Revision: https://phabricator.services.mozilla.com/D141983 |
||
---|---|---|
.. | ||
auth | ||
permissions | ||
pref | ||
spellcheck | ||
universalchardet |