Skip to content

Commit 1d0d439

Browse files
committed
Auto merge of #17461 - Veykril:drop-flycheck-recv, r=Veykril
fix: Fix flycheck panicking when cancelled Fixes rust-lang/rust-analyzer#17445
2 parents e871775 + 2f4e555 commit 1d0d439

File tree

1 file changed

+1
-0
lines changed
  • src/tools/rust-analyzer/crates/flycheck/src

1 file changed

+1
-0
lines changed

src/tools/rust-analyzer/crates/flycheck/src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,7 @@ impl FlycheckActor {
386386
"did cancel flycheck"
387387
);
388388
command_handle.cancel();
389+
self.command_receiver.take();
389390
self.report_progress(Progress::DidCancel);
390391
self.status = FlycheckStatus::Finished;
391392
}

0 commit comments

Comments
 (0)