firebase / flutterfire

🔥 A collection of Firebase plugins for Flutter apps.
https://firebase.google.com/docs/flutter/setup
BSD 3-Clause "New" or "Revised" License
8.73k stars 3.98k forks source link

fix(storage, apple): clean up event channel, stream handler and task on completion #16708

Closed russellwheatley closed 1 week ago

russellwheatley commented 1 week ago

Description

Same issue as https://github.com/firebase/flutterfire/pull/13508

Profiling App Before fix

Screenshot 2024-11-18 at 16 18 56

Profiling App After fix

Screenshot 2024-11-18 at 16 19 17

Related Issues

fixes https://github.com/firebase/flutterfire/issues/13532

Checklist

Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process. Updating the pubspec.yaml and changelogs is not required.

Breaking Change

Does your PR require plugin users to manually update their apps to accommodate your change?