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 Dec 27, 2023
1 parent 0572cf1 commit e3a63de
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 e3a63de

Please sign in to comment.