fix: clear diagnostics on cancel unconditionally, fixing #18854
This commit is contained in:
parent
5afee0d54d
commit
e02b3ec9cc
1 changed files with 2 additions and 2 deletions
|
|
@ -419,9 +419,9 @@ impl FlycheckActor {
|
|||
command_handle.cancel();
|
||||
self.command_receiver.take();
|
||||
self.report_progress(Progress::DidCancel);
|
||||
self.diagnostics_cleared_for.clear();
|
||||
self.diagnostics_received = false;
|
||||
}
|
||||
self.diagnostics_cleared_for.clear();
|
||||
self.diagnostics_received = false;
|
||||
}
|
||||
|
||||
/// Construct a `Command` object for checking the user's code. If the user
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue