Bug 1291709 - PdfjsChromeUtils.jsm leaks browser.xul windows.

This commit is contained in:
Brendan Dahl 2016-08-03 14:18:40 -07:00
parent 39412e5ace
commit 815c3a822f

View File

@ -53,7 +53,7 @@ var PdfjsChromeUtils = {
*/
init: function () {
this._browsers = new Set();
this._browsers = new WeakSet();
if (!this._ppmm) {
// global parent process message manager (PPMM)
this._ppmm = Cc['@mozilla.org/parentprocessmessagemanager;1'].