mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-14 06:03:58 +00:00
Auto merge of #17461 - Veykril:drop-flycheck-recv, r=Veykril
fix: Fix flycheck panicking when cancelled Fixes https://github.com/rust-lang/rust-analyzer/issues/17445
This commit is contained in:
commit
180c2292f9
1 changed files with 1 additions and 0 deletions
|
@ -386,6 +386,7 @@ impl FlycheckActor {
|
|||
"did cancel flycheck"
|
||||
);
|
||||
command_handle.cancel();
|
||||
self.command_receiver.take();
|
||||
self.report_progress(Progress::DidCancel);
|
||||
self.status = FlycheckStatus::Finished;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue