mirror of https://github.com/smol-rs/blocking
02cd156338
This commit makes it so if a panic occurs in an unblock task, that panic is propogated to the caller. Previously, the task would just fail to complete and would produce a less intuitive error. Tests are also added to make sure the panic is propogated. Signed-off-by: John Nunley <dev@notgull.net> |
||
---|---|---|
.. | ||
unblock.rs |