Skip to content

Need a way to "halt" on Native #4354

@armanbilge

Description

@armanbilge

private[this] def halt(status: Int): Unit = {
// TODO: This should be `Runtime#halt` (i.e.,
// TODO: not call shutdown hooks), but that is
// TODO: unavailable on scala-native. Note,
// TODO: that `stdlib.exit` seems to be the
// TODO: same as `System.exit` currently.
System.exit(status)
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions