Bug 711494 - close _dbConnection. r=mak.

--HG--
extra : rebase_source : 4c8c7838b30c25fe7dea4a1b9f5d8cb7b0b9e6c5
This commit is contained in:
Rafael Ávila de Espíndola 2011-12-19 13:10:18 -05:00
parent 6cda14be64
commit 5e9766a415

View File

@ -304,6 +304,8 @@ ContentPrefService.prototype = {
this.__stmtUpdatePref = null;
}
this._dbConnection.asyncClose();
// Delete references to XPCOM components to make sure we don't leak them
// (although we haven't observed leakage in tests). Also delete references
// in _observers and _genericObservers to avoid cycles with those that