Skip to content

Commit

Permalink
Remove call to caml_c_thread_unregister, breaks in OCaml 5
Browse files Browse the repository at this point in the history
  • Loading branch information
tizoc committed Jan 28, 2024
1 parent 53b1440 commit f9b6847
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,8 @@ impl Drop for OCamlDomainLock {
fn drop(&mut self) {
unsafe {
ocaml_sys::caml_enter_blocking_section();
caml_c_thread_unregister();
// FIXME: breaks with OCaml 5
// caml_c_thread_unregister();
};
}
}
Expand Down

0 comments on commit f9b6847

Please sign in to comment.