diff options
| author | 2020-04-26 12:26:46 -0500 | |
|---|---|---|
| committer | 2020-04-26 12:27:37 -0500 | |
| commit | d2ebf4b52d2a61535524e9d8e9d743b54cc46bd4 (patch) | |
| tree | d4a0ff92aace831280ba5ba5d86b7ac92f1f40f8 /jpm | |
| parent | Use dedent in jpm create-executable. (diff) | |
| parent | Add jpm rule-tree. (diff) | |
Merge branch 'net'
Diffstat (limited to 'jpm')
| -rwxr-xr-x | jpm | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -494,11 +494,14 @@ fiber->env = temptab; Janet out; JanetSignal result = janet_continue(fiber, janet_wrap_nil(), &out); - if (result) { - janet_stacktrace(fiber, out); - janet_deinit(); - return result; + if (result != JANET_SIGNAL_OK && result != JANET_SIGNAL_EVENT) { + janet_stacktrace(fiber, out); + janet_deinit(); + return result; } + #ifdef JANET_NET + janet_loop(); + #endif janet_deinit(); return 0; } |
