Skip to content

Commit 3aa93c5

Browse files
authored
Merge pull request #114 from intel/fix-mutex-deadlock
Fix deadlock
2 parents 44f52b0 + d5c7a28 commit 3aa93c5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
# Change Log
66

77
## 0.9.11
8+
- Fixed deadlock when a configuration update happens
89

910
## 0.9.10
1011
- 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)

src/actions/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ impl <O: Output> InitActionContext<O> {
597597
}
598598
let mut lint_reissue = LintReissueRequirement::None;
599599
{
600-
let config = self.config.lock().unwrap();
600+
let config = self.config.lock().unwrap().clone();
601601
if config.compile_info_path != old_config.compile_info_path {
602602
self.update_compilation_info(out);
603603
}

0 commit comments

Comments
 (0)