handle removing a future that does not exist
This commit is contained in:
1 parent
4fdab915c2
commit
e3dd55533f
2 files changed
+3
-3
No files matched your search
@@ -34,7 +34,7 @@ impl VirtualDom {
|
||||
self.scopes[task.scope.0].spawned_tasks.remove(&id);
|
||||
|
||||
// Remove it from the scheduler
|
||||
tasks.remove(id.0);
|
||||
tasks.try_remove(id.0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user