fix: Fix flycheck panicking when cancelled
This commit is contained in:
parent
74c1675664
commit
2f4e555407
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…
Add table
Add a link
Reference in a new issue