summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterimsession.cpp
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2024-11-06 17:30:47 +0800
committerErik Kundiman <erik@megapahit.org>2024-11-06 17:30:47 +0800
commit5f3e7b7fb33160c3250d445f45214aa30130c9e7 (patch)
tree35aae8ac630096462d5e2ae1aa37b3787e80de56 /indra/newview/llfloaterimsession.cpp
parent8af4df0022a484c3ea0b1fedb3a36235e2742e3b (diff)
parent55732f7343fa574a8dfcbfd807e69b1fb56e9209 (diff)
Merge remote-tracking branch 'secondlife/release/2024.09-ExtraFPS' into 2024.09-ExtraFPS
Diffstat (limited to 'indra/newview/llfloaterimsession.cpp')
-rw-r--r--indra/newview/llfloaterimsession.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llfloaterimsession.cpp b/indra/newview/llfloaterimsession.cpp
index 97e0d01b52..185274981b 100644
--- a/indra/newview/llfloaterimsession.cpp
+++ b/indra/newview/llfloaterimsession.cpp
@@ -638,6 +638,7 @@ void LLFloaterIMSession::onClose(bool app_quitting)
// Last change:
// EXT-3516 X Button should end IM session, _ button should hide
gIMMgr->leaveSession(mSessionID);
+ mSession = nullptr; // leaveSession should have deleted it.
// *TODO: Study why we need to restore the floater before we close it.
// Might be because we want to save some state data in some clean open state.
LLFloaterIMSessionTab::restoreFloater();