Skip to content

Commit 4b4f1e0

Browse files
committed
FIX
1 parent 213d46f commit 4b4f1e0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/lwt/graphics/graphics_js.ml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ end
2828

2929
type context = context_ Js.t
3030

31-
let _ = Callback.register_exception "Graphics.Graphic_failure" (Graphic_failure "")
31+
let _ =
32+
(Callback.register_exception
33+
"Graphics.Graphic_failure" [@ocaml.alert "-unsafe_multidomain"])
34+
(Graphic_failure "")
3235

3336
let ( >>= ) = Lwt.bind
3437

0 commit comments

Comments
 (0)