summaryrefslogtreecommitdiff
path: root/indra/newview/llavatarlistitem.cpp
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2009-09-11 22:24:30 -0400
committerNat Goodspeed <nat@lindenlab.com>2009-09-11 22:24:30 -0400
commitd40d745cba1de0df4ada7d4d2cf9f1632279ae12 (patch)
tree2043992934a0a68f35eb31e231c3dca1908fa04a /indra/newview/llavatarlistitem.cpp
parent8e0128c493bce16555b3a9132bd71b670c322d63 (diff)
DEV-38598, QAR-1619: Ensure we remove LLFloaterTOS from LLFloaterReg registry.
LLFloater's destructor calls LLFloaterReg::removeInstance() with its own name and key. But for the new LLFloaterTOS invocation, we pass a key that's an LLSD map. removeInstance() critically depends on LLFloater::KeyCompare::equate() -- but equate() never considered a non-scalar LLSD key value. Fortunately llsdutil.h already provides a deep-equality function for LLSD: llsd_equals(). Making equate() trivially call llsd_equals() fixes the crash on TOS cancel.
Diffstat (limited to 'indra/newview/llavatarlistitem.cpp')
0 files changed, 0 insertions, 0 deletions