Skip to content

Commit

Permalink
Merge pull request #666 from majaha/patch-1
Browse files Browse the repository at this point in the history
Always call runtime.reset() in App.resetCart()
  • Loading branch information
aduros authored Oct 3, 2023
2 parents 9169866 + 4ac9502 commit 1fb4e05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtimes/web/src/ui/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -646,9 +646,9 @@ export class App extends LitElement {
// Take a snapshot
state = new State();
state.read(this.runtime);
} else {
this.runtime.reset(true);
}
this.runtime.reset(true);


this.runtime.pauseState |= constants.PAUSE_REBOOTING;
await this.runtime.load(wasmBuffer);
Expand Down

0 comments on commit 1fb4e05

Please sign in to comment.