Open
Description
I'm using actix-rt 1.0.0
through actix 0.9.0
and observing that system does not stop on panic.
It seems like task panics get caught by tokio runtime 0.2.6
.
Relevant tokio issue: tokio-rs/tokio#2002
It also seems like actix-rt 0.2
always stopped on panic due to tokio 0.1
not catching.
My current workaround is to set a panic hook that sends a stop signal to current system, so another question: is it possible to make System::with_current
do nothing if current system is not set? System::current()
and System::with_current
require the caller to guarantee it's set.