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

master
Andrey Kleshchev 2020-08-15 12:36:27 +03:00
parent f554fe2ca7
commit 80fe2157fe
2 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -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;