mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-22 20:23:09 +00:00
Update tasks.rs (#2703)
This commit is contained in:
parent
163586c3ff
commit
beeee0dda1
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue