From d7e5c4054f984a6275a321b7e073161f622a706f Mon Sep 17 00:00:00 2001 From: Shyotl Date: Wed, 12 Oct 2011 23:48:03 -0500 Subject: [PATCH] gInventory.cleanupInventory() wasn't called on shutdown. --- indra/newview/llappviewer.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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;