diff --git a/services/sync/modules/engines/history.js b/services/sync/modules/engines/history.js index 526fa3122fb2..9f8a7d0d6f83 100644 --- a/services/sync/modules/engines/history.js +++ b/services/sync/modules/engines/history.js @@ -88,7 +88,7 @@ function HistoryStore(name) { Store.call(this, name); // Explicitly nullify our references to our cached services so we don't leak - Observers.add("places-shutdown", function() { + Svc.Obs.add("places-shutdown", function() { for each([query, stmt] in Iterator(this._stmts)) stmt.finalize(); this.__hsvc = null;