Skip to content

[GFCarousel] timer of the autoPlay is not disposed #143

@yasalkhatib

Description

@yasalkhatib

Describe the bug
In GFCarousel, inside dispose method,

@override
void dispose() {
  super.dispose();
  timer?.cancel();
}

The problem here is that super.dispose is being called first and because of that timer?.cancel(); will never be executed.

Expected behavior
timer should be disposed before calling super.dispose();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions