This should at least stop crash from pathfinding notification till we have figured it out better.

This commit is contained in:
Siana Gearz
2012-08-16 03:37:05 +02:00
parent bdaa5f20a1
commit 0a33a3a71a
3 changed files with 36 additions and 4 deletions

View File

@@ -2033,7 +2033,11 @@ void LLViewerWindow::shutdownViews()
{
gMorphView->setVisible(FALSE);
}
// DEV-40930: Clear sModalStack. Otherwise, any LLModalDialog left open
// will crump with LL_ERRS.
LLModalDialog::shutdownModals();
// Delete all child views.
delete mRootView;
mRootView = NULL;