summaryrefslogtreecommitdiff
path: root/indra/newview/llaisapi.h
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2020-10-01 22:18:49 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2020-10-01 22:36:52 +0300
commit5172f5d6d6ee76ffe9f7fe0a8a6eb8a86ec93d4d (patch)
treee3c4e8ccf6cb4fbc6cb57b94c6c04aa105383c10 /indra/newview/llaisapi.h
parent5cae545e09fc805a980cfb040a1c18c3dee5f65a (diff)
SL-14037 BugSplat Crash #646590: Enqueue failed in AIS
Diffstat (limited to 'indra/newview/llaisapi.h')
-rw-r--r--indra/newview/llaisapi.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llaisapi.h b/indra/newview/llaisapi.h
index fc1a6c0871..856f3fc180 100644
--- a/indra/newview/llaisapi.h
+++ b/indra/newview/llaisapi.h
@@ -71,6 +71,7 @@ private:
const std::string, LLSD, LLCore::HttpOptions::ptr_t, LLCore::HttpHeaders::ptr_t) > invokationFn_t;
static void EnqueueAISCommand(const std::string &procName, LLCoprocedureManager::CoProcedure_t proc);
+ static void onIdle(void *userdata); // launches postponed AIS commands
static std::string getInvCap();
static std::string getLibCap();
@@ -79,6 +80,8 @@ private:
invokationFn_t invoke, std::string url, LLUUID targetId, LLSD body,
completion_t callback, COMMAND_TYPE type);
+ typedef std::pair<std::string, LLCoprocedureManager::CoProcedure_t> ais_query_item_t;
+ static std::list<ais_query_item_t> sPostponedQuery;
};
class AISUpdate