Skip to content

Commit

Permalink
[jscomps] Initialize LoginManagerParent upon start. Contributes to JB…
Browse files Browse the repository at this point in the history
…#21980
  • Loading branch information
rojkov committed Oct 29, 2015
1 parent 8e957b8 commit 234e121
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jscomps/EmbedLiteGlobalHelper.js
Expand Up @@ -8,6 +8,7 @@ const Cr = Components.results;

Components.utils.import("resource://gre/modules/XPCOMUtils.jsm");
Components.utils.import("resource://gre/modules/Services.jsm");
Components.utils.import("resource://gre/modules/LoginManagerParent.jsm");

// Common helper service

Expand Down Expand Up @@ -72,6 +73,7 @@ EmbedLiteGlobalHelper.prototype = {
} catch (e) {
dump("E login manager\n");
}
LoginManagerParent.init();
break;
}
case "xpcom-shutdown": {
Expand Down

0 comments on commit 234e121

Please sign in to comment.