From bcfa00a2e346d50d171e6d61bfcb92dc59d839e1 Mon Sep 17 00:00:00 2001 From: Mark Hammond Date: Fri, 5 Dec 2014 16:54:10 -0800 Subject: [PATCH] Bug 1019985 - followup to address missing review comment, r=adw. --- services/sync/modules/FxaMigrator.jsm | 1 + 1 file changed, 1 insertion(+) diff --git a/services/sync/modules/FxaMigrator.jsm b/services/sync/modules/FxaMigrator.jsm index b292d0eaf0ce..e9ab582a6ab3 100644 --- a/services/sync/modules/FxaMigrator.jsm +++ b/services/sync/modules/FxaMigrator.jsm @@ -201,6 +201,7 @@ Migrator.prototype = { this.log.info("Performing final sync migration steps"); // Do the actual migration. let startOverComplete = new Promise((resolve, reject) => { + let observe; Services.obs.addObserver(observe = () => { this.log.info("observed that startOver is complete"); Services.obs.removeObserver(observe, "weave:service:start-over:finish");