-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Stop runtime on task panic #2002
Copy link
Copy link
Open
Labels
A-tokioArea: The main tokio crateArea: The main tokio crateC-feature-requestCategory: A feature request.Category: A feature request.M-runtimeModule: tokio/runtimeModule: tokio/runtime
Metadata
Metadata
Assignees
Labels
A-tokioArea: The main tokio crateArea: The main tokio crateC-feature-requestCategory: A feature request.Category: A feature request.M-runtimeModule: tokio/runtimeModule: tokio/runtime
Version
tokio 0.2.6
Description
I'm indirectly using tokio runtime with basic scheduler (through using actix 0.9.0).
It seems like tokio 0.1 would stop if any task panics, but 0.2.6 catches everything in
task::harness::Harness::polland the runtime keeps going.Is there any way to get the old behavior of stopping the runtime?