Skip to content

Commit 180c229

Browse files
committed
Auto merge of #17461 - Veykril:drop-flycheck-recv, r=Veykril
fix: Fix flycheck panicking when cancelled Fixes #17445
2 parents 6738f81 + 48cf13b commit 180c229

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/flycheck/src/lib.rs

Lines changed: 1 addition & 0 deletions
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)