Connect signal in deferred mode to make plugin work on Beta 4.

This commit is contained in:
Nolan Darilek 2019-12-22 09:33:00 -06:00
parent ebf63b10e5
commit 8e7f8c69f9

View File

@ -618,4 +618,4 @@ func _init(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, "free", [], Object.CONNECT_DEFERRED)