From 5b06e9c257ce5875fe40382b4343ef520346c4d9 Mon Sep 17 00:00:00 2001 From: Deven Joshi Date: Fri, 20 Nov 2020 18:16:03 +0530 Subject: [PATCH] fix: Stop animation before pop --- lib/src/reaction_picker.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/src/reaction_picker.dart b/lib/src/reaction_picker.dart index d661621e..802e8eb3 100644 --- a/lib/src/reaction_picker.dart +++ b/lib/src/reaction_picker.dart @@ -122,6 +122,7 @@ class _ReactionPickerState extends State { void pop() async { for (var a in animations) { a.stop(); + a.dispose(); } Navigator.of(context).pop(); }