Skip to content

Commit

Permalink
#3466 Crash at LLScrollingPanelParam::draw
Browse files Browse the repository at this point in the history
  • Loading branch information
maxim-productengine authored Jan 28, 2025
1 parent 52a9316 commit 43a966e
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions indra/newview/llappearancemgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -537,9 +537,14 @@ LLUpdateAppearanceOnDestroy::~LLUpdateAppearanceOnDestroy()

selfStopPhase("update_appearance_on_destroy");

LLAppearanceMgr::instance().updateAppearanceFromCOF(mEnforceItemRestrictions,
mEnforceOrdering,
mPostUpdateFunc);
//avoid calling an update inside coroutine
bool force_restrictions(mEnforceItemRestrictions);
bool enforce_ordering(mEnforceOrdering);
nullary_func_t post_update_func(mPostUpdateFunc);
doOnIdleOneTime([force_restrictions,enforce_ordering,post_update_func]()
{
LLAppearanceMgr::instance().updateAppearanceFromCOF(force_restrictions, enforce_ordering, post_update_func);
});
}
}

Expand Down

0 comments on commit 43a966e

Please sign in to comment.