Skip to content

Don't abort the whole process if we see a Rust panic #80

@rib

Description

@rib

PR #68 introduces an abort_on_panic wrapper to ensure that a panic in Rust can't unwind over an FFI boundary, since that leads to undefined behaviour.

A problem with this solution though is that an Android Activity doesn't necessarily own the entire process, in case there may be other Services or even Activities running in the same process in separate threads and so we're potentially tearing down more than should be necessary by aborting the whole process.

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