Skip to content
Snippets Groups Projects
Commit 80fe2157 authored by Andrey Kleshchev's avatar Andrey Kleshchev
Browse files

SL-13783 Workaround for enqueueCoprocedure() crash with asset storage

parent f554fe2c
No related branches found
No related tags found
No related merge requests found
...@@ -137,6 +137,12 @@ LLCoprocedureManager::~LLCoprocedureManager() ...@@ -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) LLCoprocedureManager::poolPtr_t LLCoprocedureManager::initializePool(const std::string &poolName)
{ {
// Attempt to look up a pool size in the configuration. If found use that // Attempt to look up a pool size in the configuration. If found use that
......
...@@ -39,6 +39,7 @@ class LLCoprocedureManager : public LLSingleton < LLCoprocedureManager > ...@@ -39,6 +39,7 @@ class LLCoprocedureManager : public LLSingleton < LLCoprocedureManager >
{ {
LLSINGLETON(LLCoprocedureManager); LLSINGLETON(LLCoprocedureManager);
virtual ~LLCoprocedureManager(); virtual ~LLCoprocedureManager();
/*virtual*/ void initSingleton();
public: public:
typedef boost::function<U32(const std::string &)> SettingQuery_t; typedef boost::function<U32(const std::string &)> SettingQuery_t;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment