Skip to content

What's the panic policy for dropping future and output? #4410

Answered by Darksonn
3andero asked this question in General
Discussion options

You must be logged in to vote

One of these is a bug, which I filed here: #4412. The rest are consistent behavior — the panic is passed on to the JoinHandle and the user can retrieve it by polling the JoinHandle. If the JoinHandle is dropped, then the panic is lost. (The panic handler will still print it to stdout.)

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@3andero
Comment options

@Darksonn
Comment options

@3andero
Comment options

Answer selected by 3andero
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants