You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Stuck for 1 hour while debugging "deadlocking code", then found panic, which i had ignored in spawn_blocking call, which is not marked as must_use
Describe the solution you'd like
Make spawn_blocking #[must_use]
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered:
Somehow missed this issue while searching for duplicates.
However, my proposal has a different motivation, instead of implementing different JoinHandleDrop behavior, i propose to make just harder to miss a panic in spawned blocking code
Is your feature request related to a problem? Please describe.
Stuck for 1 hour while debugging "deadlocking code", then found panic, which i had ignored in
spawn_blocking
call, which is not marked asmust_use
Describe the solution you'd like
Make spawn_blocking
#[must_use]
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: