summaryrefslogtreecommitdiff
path: root/indra/llcorehttp/_httpservice.cpp
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2018-08-02 23:02:42 +0100
committerGraham Linden <graham@lindenlab.com>2018-08-02 23:02:42 +0100
commitbd7ad9c157776244912e652e93162cbbd32088f1 (patch)
treece7da254212a1d5e0a7a9fdd81b71059046d134f /indra/llcorehttp/_httpservice.cpp
parent34d595716bb9224cc4f173bd968db86bc88cbaed (diff)
parent09f97172bb478a2c977d8b7b0958196e7e98c433 (diff)
Merge viewer-release
Diffstat (limited to 'indra/llcorehttp/_httpservice.cpp')
-rw-r--r--indra/llcorehttp/_httpservice.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/indra/llcorehttp/_httpservice.cpp b/indra/llcorehttp/_httpservice.cpp
index 49d865cbfa..0b72b53186 100644
--- a/indra/llcorehttp/_httpservice.cpp
+++ b/indra/llcorehttp/_httpservice.cpp
@@ -95,10 +95,12 @@ HttpService::~HttpService()
if (! mThread->timedJoin(250))
{
// Failed to join, expect problems ahead so do a hard termination.
- mThread->cancel();
+ LL_WARNS(LOG_CORE) << "Destroying HttpService with running thread. Expect problems." << LL_NEWLINE
+ << "State: " << S32(sState)
+ << " Last policy: " << U32(mLastPolicy)
+ << LL_ENDL;
- LL_WARNS(LOG_CORE) << "Destroying HttpService with running thread. Expect problems."
- << LL_ENDL;
+ mThread->cancel();
}
}
}