summaryrefslogtreecommitdiff
path: root/indra/llmessage/llcoproceduremanager.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2020-08-15 12:36:27 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2020-08-17 21:52:28 +0300
commit80fe2157fe43e46f16b33fc75ab8ef7de428d275 (patch)
treee056cc6dcb842c560a1fc0aa9aa6c284c7e0f5d8 /indra/llmessage/llcoproceduremanager.cpp
parentf554fe2ca74ddf275e47cdce8537e04ab40f9f95 (diff)
SL-13783 Workaround for enqueueCoprocedure() crash with asset storage
Diffstat (limited to 'indra/llmessage/llcoproceduremanager.cpp')
-rw-r--r--indra/llmessage/llcoproceduremanager.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/llmessage/llcoproceduremanager.cpp b/indra/llmessage/llcoproceduremanager.cpp
index 74cdff2b00..e1ca388dd7 100644
--- a/indra/llmessage/llcoproceduremanager.cpp
+++ b/indra/llmessage/llcoproceduremanager.cpp
@@ -137,6 +137,12 @@ LLCoprocedureManager::~LLCoprocedureManager()
}
+void LLCoprocedureManager::initSingleton()
+{
+ // workaround until we get mutex into initializePool
+ initializePool("VAssetStorage");
+}
+
LLCoprocedureManager::poolPtr_t LLCoprocedureManager::initializePool(const std::string &poolName)
{
// Attempt to look up a pool size in the configuration. If found use that