Test.gd now frees 'config'
This commit is contained in:
parent
09dee490e5
commit
b78ae9dd30
1 changed files with 2 additions and 0 deletions
2
Test.gd
2
Test.gd
|
@ -33,6 +33,8 @@ func _init() -> void:
|
||||||
# Initialize CORE with custom config
|
# Initialize CORE with custom config
|
||||||
core = Core.new(config)
|
core = Core.new(config)
|
||||||
|
|
||||||
|
config.free()
|
||||||
|
|
||||||
func _ready() -> void:
|
func _ready() -> void:
|
||||||
# Inject CORE
|
# Inject CORE
|
||||||
await get_tree().process_frame
|
await get_tree().process_frame
|
||||||
|
|
Loading…
Reference in a new issue