Skip to content

We may want to disable asserts in release. #215

@jsparber

Description

@jsparber

Loro uses assert!() and assert_debug!() which causes reflection to crash. We could disable them in release mode or maybe we do something wrong to cause them to fail.

The crashes seen, so fare are caused by the following asserts

  • loro-internal/src/undo.rs:459
  • loro-internal/src/oplog/loro_dag.rs:263
  • loro-internal/src/dag/iter.rs:277

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