summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2020-09-22 00:15:04 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2020-09-22 00:15:04 +0300
commit53421626c5da4f976429e0b19f760a1ad1cb26cb (patch)
treeadec83bd5fed24d5a8532a4b8ff60c11240d0f2d /indra/newview
parent34444a08738d836274337253fadcc945d13b1fa5 (diff)
SL-13978 Logout crash at LLParamSingleton<LLUI>
Notifications were cleaned up by this point and were pulling in LLUI
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llviewerparcelaskplay.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llviewerparcelaskplay.cpp b/indra/newview/llviewerparcelaskplay.cpp
index 74586dadc3..afbe2c94de 100644
--- a/indra/newview/llviewerparcelaskplay.cpp
+++ b/indra/newview/llviewerparcelaskplay.cpp
@@ -59,7 +59,10 @@ void LLViewerParcelAskPlay::initSingleton()
}
void LLViewerParcelAskPlay::cleanupSingleton()
{
- cancelNotification();
+ if (LLNotifications::instanceExists())
+ {
+ cancelNotification();
+ }
}
void LLViewerParcelAskPlay::askToPlay(const LLUUID &region_id, const S32 &parcel_id, const std::string &url, ask_callback cb)