From f5cade52a45f91df0cbd00d6f629bce3908f4edf Mon Sep 17 00:00:00 2001 From: Juan Manuel Castillo Date: Wed, 31 Aug 2022 03:59:41 +0000 Subject: [PATCH] use // ignore: unawaited_futures for dispose --- leto/lib/leto.dart | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/leto/lib/leto.dart b/leto/lib/leto.dart index f8745876..15afc1a0 100644 --- a/leto/lib/leto.dart +++ b/leto/lib/leto.dart @@ -260,7 +260,8 @@ class GraphQL { }, ); } finally { - await _globalVariables.dispose(); + // ignore: unawaited_futures + _globalVariables.dispose(); } } @@ -637,7 +638,8 @@ class GraphQL { }, ); } finally { - await scope.dispose(); + // ignore: unawaited_futures + scope.dispose(); } // prev = curr.then((event) async { // await _prev;