mozilla1.1a core dump at PR_AtomicDecrement()

bug=154730 r=bryner sr=jst a=asa patch=antonio.xu@sun.com


git-svn-id: svn://10.0.0.236/trunk@125061 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pete.zha%sun.com 2002-07-12 02:56:18 +00:00
parent 7b06b4f219
commit ef2e3f111b

View File

@ -1198,10 +1198,12 @@ nsWebShellWindow::FirePersistenceTimer(nsITimer *aTimer, void *aClosure)
{
nsWebShellWindow *win = NS_STATIC_CAST(nsWebShellWindow *, aClosure);
PR_Lock(win->mSPTimerLock);
win->mSPTimer = nsnull;
PR_Unlock(win->mSPTimerLock);
win->PersistPositionAndSize(win->mSPTimerPosition, win->mSPTimerSize,
win->mSPTimerMode);
win->mSPTimerSize = PR_FALSE;
win->mSPTimerPosition = PR_FALSE;
win->mSPTimerMode = PR_FALSE;
PR_Unlock(win->mSPTimerLock);
}