[Bug 345264] FeedProcessor should set this._result to null after sending the result to the listener, r=ben

This commit is contained in:
sayrer%gmail.com 2006-07-21 19:16:24 +00:00
parent 154cd0d3ae
commit 25fb925abd

View File

@ -971,8 +971,14 @@ FeedProcessor.prototype = {
catch (e) {
LOG("FIXME: " + e);
}
if (this.listener != null) {
this.listener.handleResult(this._result);
try {
if (this.listener != null)
this.listener.handleResult(this._result);
}
finally {
this._result = null;
this._reader = null;
}
},