fix: Fix memory leak when creating components (#5733)

Fix memory leak when creating components
This commit is contained in:
Christophe Bornet 2025-01-16 23:41:25 +01:00 committed by GitHub
commit a5f5f3e3e3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -313,7 +313,6 @@ def build_class_constructor(compiled_class, exec_globals, class_name):
return exec_globals[class_name]
build_custom_class.__globals__.update(exec_globals)
return build_custom_class()