From 6b705d8852c09fc398f4b1bcb028364bae0ebdd3 Mon Sep 17 00:00:00 2001 From: Krishna Anandan Ganesan Date: Thu, 22 Aug 2024 09:56:56 -0500 Subject: [PATCH] fix: destroy chatLLM dialog when maidr is deactivated (#525) --- src/js/init.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/js/init.js b/src/js/init.js index a853ee1e..df7779fd 100644 --- a/src/js/init.js +++ b/src/js/init.js @@ -469,6 +469,9 @@ function DestroyChartComponents() { if (typeof description != 'undefined') { description.Destroy(); } + if (typeof chatLLM != 'undefined') { + chatLLM.Destroy(); + } constants.chart = null; constants.chart_container = null;