Skip to content

Commit

Permalink
Do not call th_deinit on an emscripten error (#215)
Browse files Browse the repository at this point in the history
  • Loading branch information
skejeton committed Sep 29, 2024
1 parent 7be82b1 commit 1105be8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,8 @@ th_print_umka_error_and_quit(int code)
}
}

#ifndef __EMSCRIPTEN__
th_deinit();
#endif
exit(code);
}

0 comments on commit 1105be8

Please sign in to comment.