зеркало из https://github.com/mozilla/gecko-dev.git
Bug 383271: don't hold on to search engine XML documents when they're no longer needed, r=mconnor
This commit is contained in:
Родитель
4149ec6c2e
Коммит
2a4965cfbd
|
@ -1365,6 +1365,10 @@ Engine.prototype = {
|
|||
this._type = SEARCH_TYPE_SHERLOCK;
|
||||
this._parseAsSherlock();
|
||||
}
|
||||
|
||||
// No need to keep a ref to our data (which in some cases can be a document
|
||||
// element) past this point
|
||||
this._data = null;
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Загрузка…
Ссылка в новой задаче