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()
}
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
......
......@@ -39,6 +39,7 @@ class LLCoprocedureManager : public LLSingleton < LLCoprocedureManager >
{
LLSINGLETON(LLCoprocedureManager);
virtual ~LLCoprocedureManager();
/*virtual*/ void initSingleton();
public:
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