We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1ce0ef commit c677de3Copy full SHA for c677de3
monoio/src/task/harness.rs
@@ -180,7 +180,7 @@ where
180
ctx.unpark_thread(owner_id);
181
}
182
None => {
183
- crate::runtime::DEFAULT_CTX.with(|default_ctx| {
+ let _ = crate::runtime::DEFAULT_CTX.try_with(|default_ctx| {
184
crate::runtime::CURRENT.set(default_ctx, || {
185
crate::runtime::CURRENT.with(|ctx| {
186
ctx.send_waker(owner_id, waker);
@@ -237,7 +237,7 @@ where
237
238
239
240
241
242
243
0 commit comments