Skip to content

Crashes on re-launch #58

Open
Open
@matthunz

Description

@matthunz

When my app is relaunched I see:

01-15 01:03:27.582 22941 23008 I RustStdoutStderr: thread '<unnamed>' panicked at
'assertion failed: previous.is_none()', /Users/matt/.cargo/registry/src/github.com-1ecc6299db9ec823/ndk-context-0.1.1/src/lib.rs:87:5

After some digging around it looks like that line of code in idk-context is called in this crate's onCreate. Should we check to see if there is already a context created beforehand? (if that function is supposed to be called after a suspend)

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