diff --git a/src/components/video_player.rs b/src/components/video_player.rs index 7e4f8431..2a52656f 100644 --- a/src/components/video_player.rs +++ b/src/components/video_player.rs @@ -105,6 +105,10 @@ mod imp { .unwrap(); self.bus_guard.set(bus_guard).unwrap(); } + + fn dispose(&self) { + self.player.message_bus().set_flushing(true); + } } impl WidgetImpl for VideoPlayer {}