diff --git a/packages/graphql/lib/src/core/observable_query.dart b/packages/graphql/lib/src/core/observable_query.dart index 872e9675a..c85aec0f4 100644 --- a/packages/graphql/lib/src/core/observable_query.dart +++ b/packages/graphql/lib/src/core/observable_query.dart @@ -221,7 +221,7 @@ class ObservableQuery { } for (StreamSubscription subscription in _onDataSubscriptions) { - subscription.cancel(); + await subscription.cancel(); } stopPolling();