mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
No bug - Bandaid to make registration work right; real fix coming in bug 1017394, rs=Standard8
This commit is contained in:
parent
2c79a1bc28
commit
0f00a12eff
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user