Skip to content

App restart when a device locks its screen #985

@ptc-mklaudiny

Description

@ptc-mklaudiny

NodeMobile looses ability to listen its connections when the screen is locked. It emits an exception which is unhandled and this makes Node to shutdown. In turn, this calls exit() on parent process (swift app itself). The app crashes because the shutdown is not coordinated with Engine and while the Engine is being destroyed there is bad memory access abort.
Interestingly the app somewhat restarts itself after this ...

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