mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
[Bug 345264] FeedProcessor should set this._result to null after sending the result to the listener, r=ben
This commit is contained in:
parent
154cd0d3ae
commit
25fb925abd
@ -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;
|
||||
}
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user