diff options
| author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2020-09-22 00:15:04 +0300 | 
|---|---|---|
| committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2020-09-22 00:15:04 +0300 | 
| commit | 53421626c5da4f976429e0b19f760a1ad1cb26cb (patch) | |
| tree | adec83bd5fed24d5a8532a4b8ff60c11240d0f2d | |
| parent | 34444a08738d836274337253fadcc945d13b1fa5 (diff) | |
SL-13978 Logout crash at LLParamSingleton<LLUI>
Notifications were cleaned up by this point and were pulling in LLUI
| -rw-r--r-- | indra/newview/llviewerparcelaskplay.cpp | 5 | 
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 ®ion_id, const S32 &parcel_id, const std::string &url, ask_callback cb) | 
