Skip to content

Event handlers in tags still get run after unmounting tag #18

Open
@wmnnd

Description

@wmnnd

Hi there, it seems that when unmounting a tag in Riot (and after the unmount event has been triggered by Riot), RiotControl still executes event handlers for stores events within that tag:

This means, if you have something like this in a tag

RiotControl.on("some_event", function(data) {
    //do something here
}

… the function will still get triggered even after unmounting the tag.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions