Bug 1019985 - followup to address missing review comment, r=adw.

This commit is contained in:
Mark Hammond 2014-12-05 16:54:10 -08:00
parent c7a1415922
commit bcfa00a2e3

View File

@ -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");