From e0de11b1f0a90b13a185b5483abdfe748419a753 Mon Sep 17 00:00:00 2001 From: Jack Cherng Date: Fri, 1 Nov 2024 17:54:36 +0800 Subject: [PATCH] fix: clear wf_attr when plugin unloaded Signed-off-by: Jack Cherng --- plugin/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/__init__.py b/plugin/__init__.py index 11ad2fe..3541a8a 100644 --- a/plugin/__init__.py +++ b/plugin/__init__.py @@ -21,5 +21,5 @@ def plugin_loaded() -> None: def plugin_unloaded() -> None: """Executed when this plugin is unloaded.""" - LspPyrightPlugin.window_attrs.clear() + LspPyrightPlugin.wf_attrs.clear() LspPyrightPlugin.cleanup()