Skip to content

Commit

Permalink
Merge pull request #208 from Foundation-Devices/envoy_ui
Browse files Browse the repository at this point in the history
Dispose video player
  • Loading branch information
icota committed May 12, 2023
2 parents 408dd74 + c3d645e commit 1e8e617
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/ui/embedded_video.dart
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,9 @@ class EmbeddedVideoState extends State<EmbeddedVideo> {

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

@override
Expand Down

0 comments on commit 1e8e617

Please sign in to comment.