Skip to content

Commit

Permalink
Add missing change
Browse files Browse the repository at this point in the history
  • Loading branch information
Keno committed Jul 12, 2019
1 parent 88b7213 commit 52944b4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion website/repl.js
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,9 @@ function process_input(input) {
ptr = Module._malloc(input.length + 1);
Module.stringToUTF8(input, ptr, input.length + 1);
Module._jl_eval_and_print(ptr);
Module._jl_run_pending_tasks();
// Wait the task. If we're idle the scheduler will automatically
// yield back to us.
Module._jl_task_wait();
enable_prompt();
}

Expand Down

0 comments on commit 52944b4

Please sign in to comment.