No bug - Bandaid to make registration work right; real fix coming in bug 1017394, rs=Standard8

This commit is contained in:
Dan Mosedale 2014-05-29 21:13:49 +01:00
parent 2c79a1bc28
commit 0f00a12eff

View File

@ -259,7 +259,9 @@ let MozLoopServiceInternal = {
} }
// We need to register, so save the callback. // 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 we're already in progress, just return straight away.
if (this.registrationInProgress) { if (this.registrationInProgress) {