gInventory.cleanupInventory() wasn't called on shutdown.

This commit is contained in:
Shyotl
2011-10-12 23:48:03 -05:00
parent dbad00ae66
commit d7e5c4054f

View File

@@ -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;