mirror of
https://github.com/janet-lang/janet
synced 2025-07-24 12:52:53 +00:00
Fix emscripten build.
This commit is contained in:
parent
7ba925c50a
commit
0c950d0846
@ -44,7 +44,7 @@ static int enter_loop(void) {
|
|||||||
Janet ret;
|
Janet ret;
|
||||||
JanetSignal status = janet_continue(repl_fiber, janet_wrap_nil(), &ret);
|
JanetSignal status = janet_continue(repl_fiber, janet_wrap_nil(), &ret);
|
||||||
if (status == JANET_SIGNAL_ERROR) {
|
if (status == JANET_SIGNAL_ERROR) {
|
||||||
janet_stacktrace(repl_fiber, "runtime", ret);
|
janet_stacktrace(repl_fiber, ret);
|
||||||
janet_deinit();
|
janet_deinit();
|
||||||
repl_fiber = NULL;
|
repl_fiber = NULL;
|
||||||
return 1;
|
return 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user