diff --git a/CHANGELOG.md b/CHANGELOG.md index f7f4bcf..90783b2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ # Change Log ## 0.9.11 +- Fixed deadlock when a configuration update happens ## 0.9.10 - Added indentation-style rules to the lint module with configurable indent size as specified in [example_lint_cfg.json](./example_files/example_lint_cfg.README) diff --git a/src/actions/mod.rs b/src/actions/mod.rs index 5ebd8ad..bfdf9d4 100644 --- a/src/actions/mod.rs +++ b/src/actions/mod.rs @@ -597,7 +597,7 @@ impl InitActionContext { } let mut lint_reissue = LintReissueRequirement::None; { - let config = self.config.lock().unwrap(); + let config = self.config.lock().unwrap().clone(); if config.compile_info_path != old_config.compile_info_path { self.update_compilation_info(out); }