Skip to content

Commit

Permalink
No bug - Bandaid to make registration work right; real fix coming in …
Browse files Browse the repository at this point in the history
…bug 1017394, rs=Standard8
  • Loading branch information
Dan Mosedale committed May 29, 2014
1 parent 6f9ed71 commit ad07682
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion browser/components/loop/MozLoopService.jsm
Expand Up @@ -259,7 +259,9 @@ let MozLoopServiceInternal = {
}

// We need to register, so save the callback.
this.registrationCallbacks.push(callback);
if (callback) {
this.registrationCallbacks.push(callback);
}

// If we're already in progress, just return straight away.
if (this.registrationInProgress) {
Expand Down

0 comments on commit ad07682

Please sign in to comment.