Open ThallesP opened 2 weeks ago
this might not be a big deal as it only seems to happen on hot reload (development server) but i've been getting the following warning from Shiki saying that I've too many instances, causing a memory leak on a development server:
I've seen the following suggestion: https://github.com/vercel/next.js/discussions/26427#discussioncomment-9879608 but unfortunately I can't call .dispose as shown by Shiki, what can I do?
+1
this might not be a big deal as it only seems to happen on hot reload (development server) but i've been getting the following warning from Shiki saying that I've too many instances, causing a memory leak on a development server:
I've seen the following suggestion: https://github.com/vercel/next.js/discussions/26427#discussioncomment-9879608 but unfortunately I can't call .dispose as shown by Shiki, what can I do?