gecko-dev/extensions
Dan Minor 37130e3638 Bug 1761085 - Check for existence of mEngine in mozSpellChecker; r=smaug
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
2022-03-24 19:23:56 +00:00
..
auth Bug 1748210 - Always release GetNextTokenCompleteEvent on main thread, r=necko-reviewers,valentin 2022-01-12 03:59:47 +00:00
permissions Bug 1207753 - Add MOZ_UNANNOTATED to all Mutexes/Monitors r=nika,kershaw 2022-03-16 18:47:08 +00:00
pref Bug 1731564: Use motivated SpinEventLoopUntil inside extensions/*. r=jesup 2021-10-07 08:06:13 +00:00
spellcheck Bug 1761085 - Check for existence of mEngine in mozSpellChecker; r=smaug 2022-03-24 19:23:56 +00:00
universalchardet Bug 1727491 - Remove support for BOMless unlabeled Latin1 Supplement-range UTF-16LE|BE. r=emk 2021-09-01 09:13:29 +00:00