diff --git a/browser/components/feeds/src/FeedConverter.js b/browser/components/feeds/src/FeedConverter.js index 3cdbd04ecc50..1e9edb033ec6 100644 --- a/browser/components/feeds/src/FeedConverter.js +++ b/browser/components/feeds/src/FeedConverter.js @@ -132,6 +132,7 @@ FeedConverter.prototype = { _releaseHandles: function FC__releaseHandles() { this._listener = null; this._request = null; + this._processor = null; }, /** diff --git a/browser/components/feeds/src/FeedWriter.js b/browser/components/feeds/src/FeedWriter.js index b1f9e7b4e9cd..fff21f1bb755 100755 --- a/browser/components/feeds/src/FeedWriter.js +++ b/browser/components/feeds/src/FeedWriter.js @@ -847,6 +847,12 @@ FeedWriter.prototype = { * See nsIFeedWriter */ close: function FW_close() { + this._document + .getElementById("handlersMenuPopup") + .removeEventListener("command", this, false); + this._document + .getElementById("subscribeButton") + .removeEventListener("command", this, false); this._document = null; this._window = null; var prefs = @@ -857,7 +863,11 @@ FeedWriter.prototype = { prefs.removeObserver(PREF_SELECTED_WEB, this); prefs.removeObserver(PREF_SELECTED_APP, this); this._removeFeedFromCache(); - + this.__faviconService = null; + this.__bundle = null; + this._selectedApplicationItemWrapped = null; + this._defaultSystemReaderItemWrapped = null; + this._FeedURI = null; var historySvc = Cc[NH_CONTRACTID].getService(Ci.nsINavHistoryService); historySvc.removeObserver(this); },