Skip to content

Panic after chrome throttles browser when sleeping #739

@jamesgibson14

Description

@jamesgibson14

I get this error and I have to refresh the browser when it happens. It seems to only happen when chrome goes into throttled/sleep mode.

loro_wasm.js:6500 panicked at crates/loro-internal/src/lock.rs:55:13:
Locking order violation. Current lock kind: 2, Required lock kind: 1

Stack:

Error
at imports.wbg.__wbg_new_8a6f238a6ece86ea (https://cdn.jsdelivr.net/npm/loro-crdt@1.5.4/web/loro_wasm.js:6688:21)
at https://cdn.jsdelivr.net/npm/loro-crdt@1.5.4/web/loro_wasm_bg.wasm:wasm-function[1373]:0x18e0b8

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