mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 00:34:06 +00:00
fix: Fix flycheck panicking when cancelled
This commit is contained in:
parent
74c1675664
commit
2f4e555407
@ -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 New Issue
Block a user