With version 4.3.0 the plugin exit results into a crash during releasing the owned objects.
What
fix freeing components by using queue_free on macOS as the official documentation suggested for remove_control_from_docks but it results now in a lot of memory leaks. (will create a Godot issue)
do call_deferred to remove the gdunit server component, where was the root cause of the crash
Finally, we're freeing all other resources deferred to avoid singletons to freed before the other resources has queued freed
Why
With version 4.3.0 the plugin exit results into a crash during releasing the owned objects.
What
queue_free
onmacOS
as the official documentation suggested forremove_control_from_docks
but it results now in a lot of memory leaks. (will create a Godot issue)call_deferred
to remove the gdunit server component, where was the root cause of the crashfixes temporary https://github.com/godotengine/godot/issues/92727