Skip to content

Commit

Permalink
jsc/wasm32/wasm32.jsc: minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pipcet committed Feb 2, 2021
1 parent e36332d commit b158107
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jsc/wasm32/wasm32.jsc
Original file line number Diff line number Diff line change
Expand Up @@ -1716,7 +1716,7 @@ Wasm32Kernel.prototype.message = function (port, data)
var pid = this.pids_by_port.get(port);
this.wait4[pid] = seq;
if (this.exited[data[2]]) {
this.ports_by_pid[data[2]].postMessage(["response", this.wait4[pid], [data[2], 0]]);
port.postMessage(["response", this.wait4[pid], [data[2], 0]]);
delete this.wait4[pid];
}
} else {
Expand Down

0 comments on commit b158107

Please sign in to comment.