From 76eef6fe59438ae8317a3955a73cc076f5d9a9c1 Mon Sep 17 00:00:00 2001 From: Aleric Inglewood Date: Sun, 29 Jul 2012 18:38:59 +0200 Subject: [PATCH] Avoid crash on exit. --- indra/llmessage/aicurl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/llmessage/aicurl.cpp b/indra/llmessage/aicurl.cpp index 61ed1adb9..1d52afce9 100644 --- a/indra/llmessage/aicurl.cpp +++ b/indra/llmessage/aicurl.cpp @@ -1138,7 +1138,7 @@ CurlResponderBuffer::~CurlResponderBuffer() // in which case AICurlEasyRequestStateMachine::mTimer times out, but that already // calls CurlResponderBuffer::timed_out(). llmaybeerrs << "Calling ~CurlResponderBuffer() with active responder!" << llendl; - if (LLApp::isExiting()) + if (!LLApp::isRunning()) { // It might happen if some CurlResponderBuffer escaped clean up somehow :/ mResponder = NULL;