Skip to content

Commit

Permalink
block extra step
Browse files Browse the repository at this point in the history
  • Loading branch information
krystian50 committed Jan 15, 2025
1 parent 242cd63 commit 130fe5e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/packages/web-worker/command-handlers/step.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const step = async ({ pvm, program, stepsToPerform, storage, serviceId, memorySi
if (state.status === Status.HOST && storage !== null && serviceId !== null) {
const hostCallIdentifier = pvm.getExitArg();
await runHostCall({ pvm, hostCallIdentifier, storage, serviceId, memorySize });
pvm.nextStep();
// pvm.nextStep();
state = getState(pvm);
}

Expand Down
1 change: 0 additions & 1 deletion src/store/workers/workersSlice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,6 @@ export const handleHostCall = createAsyncThunk("workers/handleHostCall", async (
command: Commands.HOST_CALL,
payload: { hostCallIdentifier: worker.exitArg as HostCallIdentifiers },
});

if (
resp.payload.hostCallIdentifier === HostCallIdentifiers.WRITE &&
resp.payload.storage &&
Expand Down

0 comments on commit 130fe5e

Please sign in to comment.