Update tasks.rs (#2703)
This commit is contained in:
1 parent
163586c3ff
commit
beeee0dda1
1 file changed
+1
-1
@@ -248,7 +248,7 @@ impl Runtime {
|
||||
}
|
||||
|
||||
pub(crate) fn handle_task_wakeup(&self, id: Task) -> Poll<()> {
|
||||
#[cfg(feature = "debug_assertions")]
|
||||
#[cfg(debug_assertions)]
|
||||
{
|
||||
// Ensure we are currently inside a `Runtime`.
|
||||
Runtime::current().unwrap();
|
||||
|
||||
Reference in new issue
Block a user