From ce2d7e5791c300cc8df83fe1ac1eec93b286ea43 Mon Sep 17 00:00:00 2001 From: k00b Date: Thu, 10 Oct 2024 16:03:21 -0500 Subject: [PATCH] try to fix apollo leak --- api/ssrApollo.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/ssrApollo.js b/api/ssrApollo.js index f932ec18..3b132d26 100644 --- a/api/ssrApollo.js +++ b/api/ssrApollo.js @@ -49,6 +49,8 @@ export default async function getSSRApolloClient ({ req, res, me = null }) { } } }) + + await client.clearStore() return client }