Fix crash mousing around menus (bug 205728). Patch by bienvenu, r=me, sr=dbaron, a=sspitzer.

This commit is contained in:
bryner%netscape.com 2003-05-15 00:06:23 +00:00
parent 3134aa4bd3
commit 18429137a3

View File

@ -2302,7 +2302,9 @@ nsMenuPopupFrame::Notify(nsITimer* aTimer)
} // if not the menu with an open submenu
} // if menu open
mCloseTimer->Cancel();
if (mCloseTimer) {
mCloseTimer->Cancel();
}
}
mCloseTimer = nsnull;