Guest User

Untitled

a guest
Feb 16th, 2019
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. Index: st_stubs.c
  2. ===================================================================
  3. --- st_stubs.c (revision 249)
  4. +++ st_stubs.c (working copy)
  5. @@ -345,6 +345,7 @@
  6. static void caml_thread_remove_info(caml_thread_t th)
  7. {
  8. if (th->next == th) all_threads = NULL; /* last Caml thread exiting */
  9. + else if (all_threads == th) all_threads = th->next;
  10. th->next->prev = th->prev;
  11. th->prev->next = th->next;
  12. #ifndef NATIVE_CODE
Add Comment
Please, Sign In to add comment