Skip to content

fix: componentDidLoad setTimeouts not cleaned up #30860

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: buga confirmed bug report

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions