Bug 1291709 - PdfjsChromeUtils.jsm leaks browser.xul windows.
This commit is contained in:
parent
39412e5ace
commit
815c3a822f
@ -53,7 +53,7 @@ var PdfjsChromeUtils = {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
init: function () {
|
init: function () {
|
||||||
this._browsers = new Set();
|
this._browsers = new WeakSet();
|
||||||
if (!this._ppmm) {
|
if (!this._ppmm) {
|
||||||
// global parent process message manager (PPMM)
|
// global parent process message manager (PPMM)
|
||||||
this._ppmm = Cc['@mozilla.org/parentprocessmessagemanager;1'].
|
this._ppmm = Cc['@mozilla.org/parentprocessmessagemanager;1'].
|
||||||
|
Loading…
Reference in New Issue
Block a user