Bug 891904 - Un-schedule full spell check when checker is disabled; r=ehsan,a=Standard8 for checkin on Thunderbird specific branch. DONTBUILD GECKO250b1_2013101508_RELBRANCH SEAMONKEY_2_22b1_BUILD1 SEAMONKEY_2_22b1_RELEASE THUNDERBIRD_25_0b1_BUILD1 THUNDERBIRD_25_0b1_RELEASE
authorAryeh Gregor <ayg@aryeh.name>
Tue, 01 Oct 2013 09:42:35 +0300
branchGECKO250b1_2013101508_RELBRANCH
changeset 154224 584dbfb67083bce7d9e9d6967d256353a5a0b010
parent 154218 5eede470990a1ab7e67610554c27076818ba898e
child 154225 60a870a0a4c71217d65f153ba509f6ad379744db
push id1
push usersledru@mozilla.com
push dateThu, 04 Dec 2014 17:57:20 +0000
reviewersehsan, Standard8
bugs891904
milestone25.0
Bug 891904 - Un-schedule full spell check when checker is disabled; r=ehsan,a=Standard8 for checkin on Thunderbird specific branch. DONTBUILD
extensions/spellcheck/src/mozInlineSpellChecker.cpp
--- a/extensions/spellcheck/src/mozInlineSpellChecker.cpp
+++ b/extensions/spellcheck/src/mozInlineSpellChecker.cpp
@@ -621,16 +621,17 @@ nsresult mozInlineSpellChecker::Cleanup(
   }
   if (mNumPendingSpellChecks > 0) {
     // If mNumPendingSpellChecks is still > 0 at this point, the remainder is
     // pending scheduled spell checks.
     ChangeNumPendingSpellChecks(-mNumPendingSpellChecks, editor);
   }
 
   mEditor = nullptr;
+  mFullSpellCheckScheduled = false;
 
   return rv;
 }
 
 // mozInlineSpellChecker::CanEnableInlineSpellChecking
 //
 //    This function can be called to see if it seems likely that we can enable
 //    spellchecking before actually creating the InlineSpellChecking objects.