Use queue_free rather than free.

This commit is contained in:
Nolan Darilek 2019-09-24 17:36:27 -05:00
parent eeb8a3a171
commit 0786b6e6ab

View File

@ -494,4 +494,4 @@ func _init(tts, node):
node.connect("cell_selected", self, "tree_item_selected")
else:
node.connect("item_selected", self, "tree_item_selected")
node.connect("tree_exiting", self, "free")
node.connect("tree_exiting", self, "queue_free")