mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 870568. Change assertion about destroying an nsCocoaWindow while modal to a warning because the code handles that case. r=smichaud
This commit is contained in:
parent
3d1118cab6
commit
1a14c4a198
@ -168,8 +168,8 @@ nsCocoaWindow::~nsCocoaWindow()
|
||||
NS_IF_RELEASE(mPopupContentView);
|
||||
|
||||
// Deal with the possiblity that we're being destroyed while running modal.
|
||||
NS_ASSERTION(!mModal, "Widget destroyed while running modal!");
|
||||
if (mModal) {
|
||||
NS_WARNING("Widget destroyed while running modal!");
|
||||
--gXULModalLevel;
|
||||
NS_ASSERTION(gXULModalLevel >= 0, "Wierdness setting modality!");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user