We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5704f5d commit 253b3caCopy full SHA for 253b3ca
ocaml/otherlibs/systhreads/st_stubs.c
@@ -286,7 +286,8 @@ static void restore_runtime_state(caml_thread_t th)
286
caml_set_local_arenas(Caml_state, th->local_arenas);
287
Caml_state->backtrace_pos = th->backtrace_pos;
288
Caml_state->backtrace_buffer = th->backtrace_buffer;
289
- Caml_state->backtrace_last_exn = th->backtrace_last_exn;
+ caml_modify_generational_global_root
290
+ (&Caml_state->backtrace_last_exn, th->backtrace_last_exn);
291
#ifndef NATIVE_CODE
292
Caml_state->trap_sp_off = th->trap_sp_off;
293
Caml_state->trap_barrier_off = th->trap_barrier_off;
0 commit comments