Fix leaked editor (#25530)

Closes #ISSUE

Release Notes:

- Fixed a bug that would prevent rejoining projects sometimes
This commit is contained in:
Conrad Irwin 2025-02-24 20:10:45 -07:00 committed by GitHub
parent 3f168e85c2
commit bcbb19e06e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 23 additions and 26 deletions

View file

@ -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,