-
-
Notifications
You must be signed in to change notification settings - Fork 572
Need a way to "halt" on Native #4354
Copy link
Copy link
Closed
Milestone
Description
cats-effect/core/native/src/main/scala/cats/effect/IOApp.scala
Lines 451 to 458 in c33d887
| 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) | |
| } |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels