diff --git a/lib/widget/live/svga_player_widget.dart b/lib/widget/live/svga_player_widget.dart index 0d31b84..e61b268 100644 --- a/lib/widget/live/svga_player_widget.dart +++ b/lib/widget/live/svga_player_widget.dart @@ -57,8 +57,8 @@ class _SvgaPlayerWidgetState extends State // 如果正在播放,先停止并清理 if (_controller != null) { print('🛑 停止当前播放'); - _controller!.stop(); _controller!.dispose(); + _controller!.stop(); _controller = null; }