mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-20 17:20:54 +00:00
Bug 732186 - fix "this._resultObserversList is undefined" error from nsLivemarkService.js
r=dietrich
This commit is contained in:
parent
609a95266e
commit
6880870df8
@ -1003,7 +1003,9 @@ Livemark.prototype = {
|
||||
*/
|
||||
terminate: function LM_terminate()
|
||||
{
|
||||
delete this._resultObserversList;
|
||||
// Clear the list before aborting, since abort() would try to set the
|
||||
// status and notify about it, but that's not really useful at this point.
|
||||
this._resultObserversList = [];
|
||||
this.abort();
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user