Skip to content

too many instances of shiki on hot reload #252

@ThallesP

Description

@ThallesP

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:
image

I've seen the following suggestion:
vercel/next.js#26427 (comment)
but unfortunately I can't call .dispose as shown by Shiki, what can I do?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions