Skip to content

Bug: Mounting and unmounting file diffs in quick succession causes shiki highlighting to stop working #336

@ShpetimA

Description

@ShpetimA

Prerequisites

Describe the issue

When swapping between diffs in really quick succession the worker pool gets overloaded and shiki highlighting stops working.

Reproduction

I couldn't upload a video of the issue reproduced here on gh so i uploaded to youtube feel free to check it out
https://youtu.be/Z5NRmjsQx0A

What browser(s) are you seeing the problem on?

Safari

What version of @pierre/diffs are you using?

1.1.0-beta.13

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions