Fix leak when closing window that has live refresh timers. Bug 312769,

r=darin, sr=bryner


git-svn-id: svn://10.0.0.236/trunk@182434 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzbarsky%mit.edu
2005-10-18 01:48:22 +00:00
parent e766708159
commit b19fc8d9eb
2 changed files with 21 additions and 13 deletions

View File

@@ -179,9 +179,6 @@ nsWebShell::~nsWebShell()
{
Destroy();
// Cancel any timers that were set for this loader.
CancelRefreshURITimers();
++mRefCnt; // following releases can cause this destructor to be called
// recursively if the refcount is allowed to remain 0