mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
flush persistent state in destroy method. bug 75657 r=hyatt,pavlov
This commit is contained in:
parent
88e2071520
commit
871cd075b6
@ -1730,7 +1730,14 @@ NS_IMETHODIMP nsWebShellWindow::Destroy()
|
||||
}
|
||||
#endif
|
||||
|
||||
PR_Lock(mSPTimerLock);
|
||||
if (mSPTimer) {
|
||||
mSPTimer->Cancel();
|
||||
mSPTimer = nsnull;
|
||||
StoreBoundsToXUL(mSPTimerPosition, mSPTimerSize, PR_FALSE);
|
||||
}
|
||||
PR_Unlock(mSPTimerLock);
|
||||
|
||||
return nsXULWindow::Destroy();
|
||||
return nsXULWindow::Destroy();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user