summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerparcelaskplay.cpp
diff options
context:
space:
mode:
authorCallum Prentice <callum@gmail.com>2020-11-11 13:22:35 -0800
committerCallum Prentice <callum@gmail.com>2020-11-11 13:22:35 -0800
commit9b1d9150c23ac378623e6222c742753d6dc39070 (patch)
tree7b28475acf539006c3d674decd36cfeb72aba992 /indra/newview/llviewerparcelaskplay.cpp
parent727b89e94cc5125c62b0eaebe304ba613f38225a (diff)
parent04c473ab46041133ea6a87dbe0d43e662472adf5 (diff)
Merge branch 'master' into DRTVWR-519
Diffstat (limited to 'indra/newview/llviewerparcelaskplay.cpp')
-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)