Fix leaked editor (#25530)
Closes #ISSUE Release Notes: - Fixed a bug that would prevent rejoining projects sometimes
This commit is contained in:
parent
3f168e85c2
commit
bcbb19e06e
4 changed files with 23 additions and 26 deletions
|
@ -267,7 +267,7 @@ fn assign_edit_prediction_provider(
|
|||
}
|
||||
|
||||
let zeta = zeta::Zeta::register(
|
||||
Some(cx.entity()),
|
||||
editor.workspace().map(|w| w.downgrade()),
|
||||
worktree,
|
||||
client.clone(),
|
||||
user_store,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue