diff --git a/lib/pages/chat/events/download_video_widget.dart b/lib/pages/chat/events/download_video_widget.dart index c3d04af55e..e3f6610964 100644 --- a/lib/pages/chat/events/download_video_widget.dart +++ b/lib/pages/chat/events/download_video_widget.dart @@ -42,6 +42,8 @@ class _DownloadVideoWidgetState extends State @override void dispose() { cancelToken.cancel(); + downloadProgressNotifier.dispose(); + _downloadStateNotifier.dispose(); super.dispose(); } @@ -73,7 +75,7 @@ class _DownloadVideoWidgetState extends State context, e.toLocalizedString(context), ); - Logs().w('Error while playing video', e, s); + Logs().e('Error while playing video', e, s); } }