Skip to content

Commit 8c1ad74

Browse files
authored
Fix churn thread deadlock (#1316)
1 parent 69a0609 commit 8c1ad74

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/info/git/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ pub fn traverse_commit_graph(
106106
total_number_of_commits.store(count, Ordering::SeqCst);
107107
has_commit_graph_traversal_ended.store(true, Ordering::SeqCst);
108108

109+
drop(churn_tx);
110+
109111
let (number_of_commits_by_file_path, churn_pool_size) =
110112
churn_thread.join().expect("never panics")?;
111113

0 commit comments

Comments
 (0)