SL-13783 Workaround for enqueueCoprocedure() crash with asset storage
parent
f554fe2ca7
commit
80fe2157fe
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue