From b109b84a943b8b43ed3bd8a81066e962338632c1 Mon Sep 17 00:00:00 2001 From: MaXFeeD Date: Fri, 31 Jul 2026 18:09:37 +0300 Subject: [PATCH] Fixed resource reference duplication in multi-project mode --- src/icmtoolchain/context.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/icmtoolchain/context.py b/src/icmtoolchain/context.py index 9c14f9b..154f3dc 100644 --- a/src/icmtoolchain/context.py +++ b/src/icmtoolchain/context.py @@ -205,8 +205,6 @@ class Globals(threading.local): del self.code_workspace if hasattr(self, "parameter_signature"): del self.parameter_signature - if hasattr(self, "project_manager"): - del self.project_manager if hasattr(self, "toolchain_config"): del self.toolchain_config @@ -221,6 +219,8 @@ class Globals(threading.local): del self.project_structure if hasattr(self, "output_storage"): del self.output_storage + if hasattr(self, "linked_resource_storage"): + del self.linked_resource_storage if hasattr(self, "tsconfig_dependents"): del self.tsconfig_dependents if hasattr(self, "tsconfig_toolchain"):