Seems like this flush is unnecessary

This commit is contained in:
Blaž Hrastnik 2022-10-16 23:39:58 +09:00 committed by Skyler Hawthorne
parent b155e861ad
commit 55b50d9e83

View File

@ -968,9 +968,6 @@ pub async fn close(&mut self) -> Vec<anyhow::Error> {
// errors along the way
let mut errs = Vec::new();
// TODO: deduplicate with ctx.block_try_flush_writes
tokio::task::block_in_place(|| helix_lsp::block_on(self.editor.flush_writes()));
if let Err(err) = self
.jobs
.finish(&mut self.editor, Some(&mut self.compositor))