is_connected
returns false when it handler is registered
#1293
Labels
bug
This has been identified as a bug
confirmed
topic:gdextension
This relates to the new Godot 4 extension implementation
Milestone
Godot version
4.2
godot-cpp version
4.2
System information
Windows 11
Issue description
When verifying whether a code path is connected to another object when using
is_connected
, it always returns false, i.e.:When this code path is executed twice for the same
obj
reference, it should only register the connection once.Steps to reproduce
CallableNode
to the scene.changed
signal before and after the toggle's logic.Since there is only ever 1
CallableResource
created and there is only 1 instance of theCallableNode
, there should only ever be a single connection established; however the connections continue to accrue and the"Callback already registered"
text is never output to the logs although it should on the 2+ clicks of the checkbox in the inspector.Minimal reproduction project
N/A
The text was updated successfully, but these errors were encountered: