summaryrefslogtreecommitdiff
path: root/indra/newview/llsecapi.cpp
diff options
context:
space:
mode:
authorMnikolenko ProductEngine <mnikolenko@productengine.com>2021-09-03 22:21:29 +0300
committerMnikolenko ProductEngine <mnikolenko@productengine.com>2021-09-03 22:21:29 +0300
commit8c7db0ad6cbdcfa7d80636ed13ba657e7189420e (patch)
tree27dcd8179b70cca10939ef998ee2e68b05c4ccf1 /indra/newview/llsecapi.cpp
parentadb724564da73a4b2d1ebf7835ce628448048d87 (diff)
SL-15902 Cleanup gSecAPIHandler
Diffstat (limited to 'indra/newview/llsecapi.cpp')
-rw-r--r--indra/newview/llsecapi.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llsecapi.cpp b/indra/newview/llsecapi.cpp
index b9259cb18d..aba8ca5a4a 100644
--- a/indra/newview/llsecapi.cpp
+++ b/indra/newview/llsecapi.cpp
@@ -75,6 +75,12 @@ void initializeSecHandler()
}
}
+
+void clearSecHandler()
+{
+ gSecAPIHandler = NULL;
+ gHandlerMap.clear();
+}
// start using a given security api handler. If the string is empty
// the default is used
LLPointer<LLSecAPIHandler> getSecHandler(const std::string& handler_type)