Closed Bug 451781 Opened 12 years ago Closed 11 years ago

nsPlacesDBFlush.js's timer should dispatch to PlacesBackground

Categories

(Toolkit :: Places, defect)

defect
Not set

Tracking

()

RESOLVED INVALID

People

(Reporter: sdwilsh, Unassigned)

References

(Depends on 1 open bug)

Details

There's no need to make it go on the main thread just to dispatch an event to the background.  Just run the function instead of dispatching the call to PlacesBackground.
This would also have to make a test that tests that the timer does not run during batch mode (this test is going to be a bit crazy, but it's doable).
PlacesBackground has been fired.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.