diff --git a/qjs.c b/qjs.c index ada72d883..e6636d81f 100644 --- a/qjs.c +++ b/qjs.c @@ -680,6 +680,7 @@ int main(int argc, char **argv) goto fail; } if (interactive) { + JS_SetHostPromiseRejectionTracker(rt, NULL, NULL); js_std_eval_binary(ctx, qjsc_repl, qjsc_repl_size, 0); } if (standalone || compile_file) {