mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 17:23:59 +00:00
Bug 670463 - PlacesAggregatedTransaction arrays prevent chrome windows from being destroyed. r=mak
This commit is contained in:
parent
4e4a67f51a
commit
adb338728b
@ -2263,7 +2263,9 @@ BaseTransaction.prototype = {
|
||||
|
||||
function PlacesAggregatedTransaction(aName, aTransactions)
|
||||
{
|
||||
this._transactions = aTransactions;
|
||||
// Copy the transactions array to decouple it from its prototype, which
|
||||
// otherwise keeps alive its associated global object.
|
||||
this._transactions = Array.slice(aTransactions);
|
||||
this._name = aName;
|
||||
this.container = -1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user