Skip to content

Commit

Permalink
Make sure log thread is idempotent.
Browse files Browse the repository at this point in the history
  • Loading branch information
toots committed Sep 27, 2023
1 parent 5808275 commit dbd5669
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
0.4.6 (unreleased)
=====
* Fix tracing log.
* Make sure `Log.stop` atom is idempotent.

0.4.5 (2023-06-27)
=====
Expand Down
1 change: 1 addition & 0 deletions src/dtools_impl.ml
Original file line number Diff line number Diff line change
Expand Up @@ -860,6 +860,7 @@ module Log = struct
match !log_thread with
| None -> ()
| Some th ->
log_thread := None;
Condition.signal log_condition;
Thread.join th
end;
Expand Down

0 comments on commit dbd5669

Please sign in to comment.