Skip to content

(programmatically added) destroyed hooks retain on new instances #10458

Open
@pimlie

Description

@pimlie

Version

2.6.10

Reproduction link

https://jsfiddle.net/h86atdq4/

Steps to reproduce

Open linked jsfiddle, open console and click toggle.

What is expected?

That the logged destroyed hook count is always 0 similar to the other hooks

What is actually happening?

The destroyed hook count keeps incrementing as it seems to retain hooks from already destroyed components


Note: I didnt check if this also happens with destroyed hook defined on the component itself

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions