yallop / ocaml-ctypes

Library for binding to C libraries using pure OCaml
MIT License
363 stars 95 forks source link

Remove broken test that calls an expired closure. #773

Closed yallop closed 1 month ago

yallop commented 1 month ago

As the comment says:

(* ...
  The value of this test is questionable: calling an expired closure does not
  have defined behaviour, since the structures needed to make the call may
  have been garbage collected.
*)

and there's even less value in the test than there once was, since it's now reliably broken in practice on macOS.