Closed Bug 462204 Opened 11 years ago Closed 11 years ago

Don't try to cancel a not existant timer in nsPlacesDBFlush

Categories

(Firefox :: Bookmarks & History, defect)

defect
Not set

Tracking

()

VERIFIED FIXED
Firefox 3.1b2

People

(Reporter: mak, Assigned: mak)

References

Details

Attachments

(1 file)

in onBeginUpdateBatch sometimes we try to cancel a not existant this._timer
Blocks: 462214
Attached patch patchSplinter Review
Actually this was mostly due to my build bustage, however it's safer restoring the timer before.
Attachment #345354 - Flags: review?(sdwilsh)
Attachment #345354 - Flags: review?(sdwilsh) → review+
Comment on attachment 345354 [details] [diff] [review]
patch

>+    // Restore our timer
>+    this._timer = this._newTimer();
>+    // We need to sync now
>     this._syncTables(["places", "historyvisits"]);
nit: newline between these two bits please

r=sdwilsh
addressed comment

http://hg.mozilla.org/mozilla-central/rev/053d94c29c51
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.1b2
Status: RESOLVED → VERIFIED
Bug 451915 - move Firefox/Places bugs to Firefox/Bookmarks and History. Remove all bugspam from this move by filtering for the string "places-to-b-and-h".

In Thunderbird 3.0b, you do that as follows:
Tools | Message Filters
Make sure the correct account is selected. Click "New"
Conditions: Body   contains   places-to-b-and-h
Change the action to "Delete Message".
Select "Manually Run" from the dropdown at the top.
Click OK.

Select the filter in the list, make sure "Inbox" is selected at the bottom, and click "Run Now". This should delete all the bugspam. You can then delete the filter.

Gerv
Component: Places → Bookmarks & History
QA Contact: places → bookmarks
You need to log in before you can comment on or make changes to this bug.