From d9f88cf9adeb0f5ab0f9f50743c8b4550e2d7767 Mon Sep 17 00:00:00 2001 From: skejeton Date: Sun, 25 Aug 2024 21:09:06 -0300 Subject: [PATCH] Fix emscripten compilation --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index f890970..9a5d9c4 100644 --- a/src/main.c +++ b/src/main.c @@ -223,7 +223,7 @@ run_playground(const char *src) { if (thg->umka) { if (umkaAlive(thg->umka)) { - umkaCall(thg->umka, &thg->umka_destroy); + int code = umkaCall(thg->umka, &thg->umka_destroy); if (!umkaAlive(thg->umka) || code != 0) { th_print_umka_error_and_quit(code); }