FIRE-24125: Better close the current floater last in case of unexpected results when closing it while still iterating over the list of floaters
parent
09d55793ac
commit
0916f45254
|
|
@ -1996,10 +1996,11 @@ void LLFloater::onClickCloseBtn(bool app_quitting)
|
|||
auto floaterlist = LLFloaterReg::getAllFloatersInGroup(this);
|
||||
for (auto floater : floaterlist)
|
||||
{
|
||||
floater->closeFloater();
|
||||
if (floater != this)
|
||||
{
|
||||
floater->closeFloater();
|
||||
}
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
// </FS:Ansariel>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue