-
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GD-503: Rework plugin exit to avoid system crash and memory leaks (#504)
# Why The plugin has some issues to release resources at Godot exit and result sometimes in a segmentation fault under Linux # What - fix `remove_child` on `free_instance` to be called deferred now - removed the temporary `free_fix` workaround - fix orphan nodes in `GdUnitTestDiscoverer` - introduce a new flag to call deferred on `free_instance` at plugin exit # Godot bug related godotengine/godot#92727
- Loading branch information
1 parent
d5079c6
commit 72560ef
Showing
9 changed files
with
63 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
[gd_scene load_steps=3 format=2] | ||
[gd_scene load_steps=3 format=3 uid="uid://cn5mp3tmi2gb1"] | ||
|
||
[ext_resource path="res://addons/gdUnit4/src/network/GdUnitServer.gd" type="Script" id=1] | ||
[ext_resource path="res://addons/gdUnit4/src/network/GdUnitTcpServer.gd" type="Script" id=2] | ||
[ext_resource type="Script" path="res://addons/gdUnit4/src/network/GdUnitServer.gd" id="1"] | ||
[ext_resource type="Script" path="res://addons/gdUnit4/src/network/GdUnitTcpServer.gd" id="2"] | ||
|
||
[node name="Control" type="Node"] | ||
script = ExtResource( 1 ) | ||
script = ExtResource("1") | ||
|
||
[node name="TcpServer" type="Node" parent="."] | ||
script = ExtResource( 2 ) | ||
script = ExtResource("2") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters