Skip to content

Commit 27a892b

Browse files
committed
Fixed context not being switched when program is not running
1 parent ec850a0 commit 27a892b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

js/index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,7 @@ async function changeContext(ctx) {
9393
// Module.pause();
9494
// Execution.playing = false;
9595
// Elements.playButton.innerHTML = "Continue";
96-
let status = Module.getStatus();
97-
Execution.processStatus(status);
98-
if (status != 0 && Module.lockSimulator(100)) {
96+
if (Module.lockSimulator(100)) {
9997
updateStdOut(Execution.ctx);
10098
updateStdErr(Execution.ctx);
10199
// RegisterUtils.update(Execution.ctx);

0 commit comments

Comments
 (0)