summaryrefslogtreecommitdiff
path: root/indra/llmessage/llhttpsdhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llmessage/llhttpsdhandler.cpp')
-rw-r--r--indra/llmessage/llhttpsdhandler.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llmessage/llhttpsdhandler.cpp b/indra/llmessage/llhttpsdhandler.cpp
index aa9801cebc..18daf443ee 100644
--- a/indra/llmessage/llhttpsdhandler.cpp
+++ b/indra/llmessage/llhttpsdhandler.cpp
@@ -76,7 +76,9 @@ void LLHttpSDHandler::onCompleted(LLCore::HttpHandle handle, LLCore::HttpRespons
this->onSuccess(response, resplsd);
}
- // The handler must destroy itself when it is done.
+ // The handler must destroy itself when it is done.
+ // *TODO: I'm not fond of this pattern. A class shooting itself in the head
+ // outside of a smart pointer always makes me nervous.
delete this;
}