Skip to content

Audio still playing after disposing the controller #494

@artisan-lai-07

Description

@artisan-lai-07

Description

Audio in the rive file still playing after disposing the controller

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

Expected behavior

Audio will be stopped after the screen exit

Device & Versions (please complete the following information)

  • Device: iPad 10th gen
  • OS: iOS 18.5
  • Flutter Version: 3.24.5
  • Rive Version: rive: ^0.14.0-dev.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions