Skip to content

editor.removeConnection removing only half of connections #720

Open
@perotom

Description

@perotom

Describe the bug

When removing a connection it should be removed.

Example to reproduce

https://codesandbox.io/p/sandbox/3t42jc

How to reproduce

Press the button "refresh outputs" in the provided example.
All connections are removed in the rendered view, but not in the background (press the button again to see in the logs again some connections).

Expected behavior

In the example all connections should be removed. They are just removed in the rendered view but if you check the console, you will see the output will show still some connections exists. If you try this example with multiple connections, only 1/2 of the connections are removed, even-though the return value of all calls to editor.removeConnection is true.

Dependencies

https://codesandbox.io/p/sandbox/3t42jc

Platform

No response

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions