Skip to content

fix: componentDidLoad setTimeouts not cleaned up #30860

@KillerCodeMonkey

Description

@KillerCodeMonkey

After checking the code of the ion-searchbar i saw that in multiple components timeouts that are defined in componentDidLoad are not cleared when disconnected.

In some circumstances this can lead to unwanted side effects or memory not cleaned up correctly.

Especially the label and searchbar components have in some situations "long" timeouts in ms.

This issue was created because it is needed for the PR: #30851

@thetaPC

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions