diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp index a76440e90..2c2d8194e 100644 --- a/indra/newview/llappviewer.cpp +++ b/indra/newview/llappviewer.cpp @@ -1355,6 +1355,11 @@ bool LLAppViewer::cleanup() if( gViewerWindow) gViewerWindow->shutdownViews(); + llinfos << "Cleaning up Inventory" << llendflush; + + // Cleanup Inventory after the UI since it will delete any remaining observers + // (Deleted observers should have already removed themselves) + gInventory.cleanupInventory(); llinfos << "Cleaning up Selections" << llendflush;