From a79ba694439cfae175583f918042a06b587c22ca Mon Sep 17 00:00:00 2001 From: ninemine <1371605831@qq.com> Date: Wed, 5 Nov 2025 17:49:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=97=A0=E4=BE=9D=E8=B5=96?= =?UTF-8?q?=E6=97=B6Architecture=E6=B3=A8=E5=86=8C=E7=9A=84=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Runtime/Architecture.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Runtime/Architecture.py b/Runtime/Architecture.py index cfe63cd..a8d465d 100644 --- a/Runtime/Architecture.py +++ b/Runtime/Architecture.py @@ -131,8 +131,9 @@ class Architecture: if slot in cls._RegisteringRuntime: raise InvalidOperationError("Illegal duplicate registrations") cls._RegisteringRuntime[slot] = Architecture.Registering(slot, target, DependenceModel(Architecture.TypeQuery(dependence) for dependence in dependences), action) + dependences = cls._RegisteringRuntime[slot].dependences cls._InternalRegisteringComplete() - return cls._RegisteringRuntime[slot].dependences + return dependences @classmethod def Contains(cls, type_:type) -> bool: