Replace ViewContext::spawn
with ViewContext::spawn_weak
This commit is contained in:
parent
09f7e41907
commit
94c2eaad23
20 changed files with 83 additions and 73 deletions
|
@ -163,7 +163,7 @@ impl PickerDelegate for ThemeSelectorDelegate {
|
|||
})
|
||||
.collect::<Vec<_>>();
|
||||
|
||||
cx.spawn_weak(|this, mut cx| async move {
|
||||
cx.spawn(|this, mut cx| async move {
|
||||
let matches = if query.is_empty() {
|
||||
candidates
|
||||
.into_iter()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue