You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The simple fix is to change slot->reference_count >= 0 to slot->reference_count > 0, except then if the first connection does not use CONNECT_REFERENCE_COUNTED and then a second connection does (this does not currently error), then you would need only a single disconnect despite connect having been called two times.
The text was updated successfully, but these errors were encountered:
godot/core/object/object.cpp
Line 1368 in 2cbc0b6
The simple fix is to change
slot->reference_count >= 0
toslot->reference_count > 0
, except then if the first connection does not useCONNECT_REFERENCE_COUNTED
and then a second connection does (this does not currently error), then you would need only a single disconnect despiteconnect
having been called two times.The text was updated successfully, but these errors were encountered: