Skip to content

fix: componentDidLoad setTimeouts not cleaned up #30860

Closed

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

  1. added a commit that references this issue on Feb 18, 2026
    70b1237
  2. thetaPC commented on Feb 18, 2026

    @thetaPC
    Contributor

    Thanks for the issue! This has been resolved through your PR and will be available in an upcoming release of Ionic.

  3. ionitron-bot commented on Mar 20, 2026

    @ionitron-bot

    Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

  4. locked and limited conversation to collaborators on Mar 20, 2026
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