Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
fix: race condition on gql client subscription client
Andrew Bastin0f07c47e9fe0
diff --git a/packages/hoppscotch-app/helpers/backend/GQLClient.ts b/packages/hoppscotch-app/helpers/backend/GQLClient.tsindex 0a72b87cf..d2e11d468 100644--- a/packages/hoppscotch-app/helpers/backend/GQLClient.ts+++ b/packages/hoppscotch-app/helpers/backend/GQLClient.ts@@ -67,7 +67,7 @@ const subscriptionClient = new SubscriptionClient()authIdToken$.subscribe(() => {- subscriptionClient.client.close()+ subscriptionClient.client?.close()})const createHoppClient = () =>