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;