Fix weird gesture deactivation and state-save bug with weird fix.

Also OCDly replace a NULL with nullptr (not part of the above fix).
This commit is contained in:
Router Gray
2019-07-29 17:55:48 -05:00
parent 6aab72beb8
commit 565153c5f7
2 changed files with 4 additions and 4 deletions

View File

@@ -996,9 +996,9 @@ void LLGestureMgr::onLoadComplete(LLVFS *vfs,
{
LLLoadInfo* info = (LLLoadInfo*)user_data;
const LLUUID& item_id = info->mItemID;
const bool& inform_server = info->mInformServer;
const bool& deactivate_similar = info->mDeactivateSimilar;
const LLUUID item_id = info->mItemID;
const bool inform_server = info->mInformServer;
const bool deactivate_similar = info->mDeactivateSimilar;
delete info;
info = nullptr;