diff options
| author | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2025-11-04 23:15:06 +0200 |
|---|---|---|
| committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2025-11-05 11:27:22 +0200 |
| commit | c8d08ee388ff8c968802412db134136c529e5bca (patch) | |
| tree | 2c340cbcbe0f763e152dcedefafa316c7293c5e6 /indra/newview/llfloaterexperiences.cpp | |
| parent | 695203be48ab0c0a780812d519af98ed6c08390d (diff) | |
#4931 Fix name cache callbacks not having connections
Diffstat (limited to 'indra/newview/llfloaterexperiences.cpp')
| -rw-r--r-- | indra/newview/llfloaterexperiences.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llfloaterexperiences.cpp b/indra/newview/llfloaterexperiences.cpp index e79055fdae..9e00fb0fbb 100644 --- a/indra/newview/llfloaterexperiences.cpp +++ b/indra/newview/llfloaterexperiences.cpp @@ -171,7 +171,7 @@ void LLFloaterExperiences::onOpen( const LLSD& key ) refreshContents(); return; } - region->setCapabilitiesReceivedCallback(boost::bind(&LLFloaterExperiences::refreshContents, this)); + mCapsReceivedConnection = region->setCapabilitiesReceivedCallback(boost::bind(&LLFloaterExperiences::refreshContents, this)); return; } } @@ -231,6 +231,7 @@ bool LLFloaterExperiences::updatePermissions( const LLSD& permission ) void LLFloaterExperiences::onClose( bool app_quitting ) { + mCapsReceivedConnection.disconnect(); LLEventPumps::instance().obtain("experience_permission").stopListening("LLFloaterExperiences"); LLFloater::onClose(app_quitting); } |
