Skip to content

Commit

Permalink
fixes #871 #936 @937
Browse files Browse the repository at this point in the history
  • Loading branch information
sarbagyastha committed Aug 7, 2024
1 parent c2cf8d6 commit 327dea1
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,12 @@ class YoutubePlayerController extends ValueNotifier<YoutubePlayerValue> {
metaData: const YoutubeMetaData(),
),
);

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

/// An inherited widget to provide [YoutubePlayerController] to it's descendants.
Expand Down

0 comments on commit 327dea1

Please sign in to comment.