We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ff10ed commit 6359b93Copy full SHA for 6359b93
1 file changed
compio-executor/src/task/mod.rs
@@ -305,13 +305,6 @@ impl Task {
305
306
header.shared.store(ptr::null_mut(), Release);
307
308
- // Dropping the future/result and waker during unwinding on unwind-unsafe
309
- // types could trigger a second panic. Skip content drops if already panicking.
310
- if ::std::thread::panicking() {
311
- trace!("Skipping content drops during panic");
312
- return;
313
- }
314
-
315
if !state.is_completed() {
316
trace!("Dropping future");
317
// The task has not completed yet, drop future
0 commit comments