зеркало из https://github.com/mozilla/pjs.git
Fix bug 318884: crash when closing last window if built with 10.4u SDK. Don't release menus in the nib.
This commit is contained in:
Родитель
a1dc107656
Коммит
17f2bc758b
|
@ -670,16 +670,6 @@ enum BWCOpenDest {
|
|||
// it only works if it's here.
|
||||
[[[self window] undoManager] removeAllActions];
|
||||
|
||||
// release top-level nib items
|
||||
[mPageMenu release];
|
||||
[mImageMenu release];
|
||||
[mInputMenu release];
|
||||
[mLinkMenu release];
|
||||
[mMailToLinkMenu release];
|
||||
[mImageLinkMenu release];
|
||||
[mImageMailToLinkMenu release];
|
||||
[mTabMenu release];
|
||||
|
||||
// active Gecko connections have already been shut down in |windowWillClose|
|
||||
// so we don't need to worry about that here. We only have to be careful
|
||||
// not to access anything related to the document, as it's been destroyed. The
|
||||
|
|
Загрузка…
Ссылка в новой задаче