Skip to content

websockets reconnect after element removed #161

@goertzenator

Description

@goertzenator

After an element with a ws-connect attribute is removed, the socket connection is closed but then immediately reconnects. If a long lived web page adds and removes many elements with ws-connect, every websocket that ever lived still keeps reconnecting.

This behavior seems to have been added by this commit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions