Skip to content

Replacing the TabController, disposing the old one, fails #32428

Closed

Description

@HansMuller

Pressing the "Change TabController length" button in this app demonstrates the problem: https://gist.github.com/HansMuller/dd9745558b991f740a9f4f31ddf10923

It happens because the didUpdateWidget methods in TabBar and TabBarView tried to remove their listeners from the old disposed controller.

Activity

  1. added
    p: material_uimaterial_ui package in flutter/packages
    frameworkflutter/packages/flutter repository. See also f: labels.
    c: crashStack traces logged to the console
    on May 9, 2019
  2. github-actions commented on Aug 30, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  3. locked as resolved and limited conversation to collaborators on Aug 30, 2021
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

    c: crashStack traces logged to the consoleframeworkflutter/packages/flutter repository. See also f: labels.p: material_uimaterial_ui package in flutter/packages

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions