diff options
| author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2025-03-07 22:37:14 +0200 |
|---|---|---|
| committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2025-03-11 11:09:59 +0200 |
| commit | d5b72eb78d8958f4cba96dd6cff397063918277b (patch) | |
| tree | d3e97d957c80653275c38a9c0d5f678a02a990c0 /indra/newview/llpanelclassified.cpp | |
| parent | 5ce0c5858c387346b7b8923ec55b4cee3f1c4d12 (diff) | |
#3697 Crash on LLAvatarPropertiesProcessor::notifyObservers
Diffstat (limited to 'indra/newview/llpanelclassified.cpp')
| -rw-r--r-- | indra/newview/llpanelclassified.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/llpanelclassified.cpp b/indra/newview/llpanelclassified.cpp index 1faf241aaa..449a670de9 100644 --- a/indra/newview/llpanelclassified.cpp +++ b/indra/newview/llpanelclassified.cpp @@ -266,6 +266,15 @@ void LLPanelClassifiedInfo::processProperties(void* data, EAvatarProcessorType t } } +void LLPanelClassifiedInfo::setAvatarId(const LLUUID& avatar_id) +{ + if (mAvatarId.notNull()) + { + LLAvatarPropertiesProcessor::getInstance()->removeObserver(mAvatarId, this); + } + mAvatarId = avatar_id; +} + void LLPanelClassifiedInfo::resetData() { setClassifiedName(LLStringUtil::null); |
