Skip to content

Commit

Permalink
use // ignore: unawaited_futures for dispose
Browse files Browse the repository at this point in the history
  • Loading branch information
juancastillo0 committed Aug 31, 2022
1 parent 4c4a05f commit f5cade5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions leto/lib/leto.dart
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,8 @@ class GraphQL {
},
);
} finally {
await _globalVariables.dispose();
// ignore: unawaited_futures
_globalVariables.dispose();
}
}

Expand Down Expand Up @@ -637,7 +638,8 @@ class GraphQL {
},
);
} finally {
await scope.dispose();
// ignore: unawaited_futures
scope.dispose();
}
// prev = curr.then<GraphQLResult>((event) async {
// await _prev;
Expand Down

0 comments on commit f5cade5

Please sign in to comment.