Fix video player not disposing
This commit is contained in:
parent
138118dd10
commit
a9fe8bf077
|
@ -48,4 +48,10 @@ class _VideoPlayerState extends State<VideoPlayer> {
|
|||
child: Video(controller: controller),
|
||||
);
|
||||
}
|
||||
|
||||
@override
|
||||
void dispose() {
|
||||
player.dispose();
|
||||
super.dispose();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue