From 23832e9ebace0d9164dbb3bf532806e5f982bea0 Mon Sep 17 00:00:00 2001 From: Armin Weatherwax Date: Sun, 20 Sep 2009 18:16:34 +0200 Subject: Fixed unhandled exception in llinventorymodel.cpp --- linden/indra/newview/llinventorymodel.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/linden/indra/newview/llinventorymodel.cpp b/linden/indra/newview/llinventorymodel.cpp index e662058..324e36a 100644 --- a/linden/indra/newview/llinventorymodel.cpp +++ b/linden/indra/newview/llinventorymodel.cpp @@ -1499,6 +1499,8 @@ void LLInventoryModel::stopBackgroundFetch() //static void LLInventoryModel::backgroundFetch(void*) { + if (gDisconnected) + return; if (sBackgroundFetchActive && gAgent.getRegion()) { //If we'll be using the capability, we'll be sending batches and the background thing isn't as important. -- cgit v1.1