From 53e53471171ac2e874a022b27d7fb457d493690e Mon Sep 17 00:00:00 2001 From: Ansariel Date: Thu, 22 Oct 2020 22:39:27 +0200 Subject: [PATCH] Fix wrong singleton instance check during disconnect --- indra/newview/llappviewer.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp index e2af86feb4..c8f0d3a063 100644 --- a/indra/newview/llappviewer.cpp +++ b/indra/newview/llappviewer.cpp @@ -6239,7 +6239,10 @@ void LLAppViewer::disconnectViewer() } // - if (LLSelectMgr::getInstance()) + // Wrong instance check + //if (LLSelectMgr::getInstance()) + if (LLSelectMgr::instanceExists()) + // deselectAll(); }