mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Bug 1019985 - followup to address missing review comment, r=adw.
This commit is contained in:
parent
c7a1415922
commit
bcfa00a2e3
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user