Skip to content

Commit

Permalink
refactor(controller/core): reorder function calls
Browse files Browse the repository at this point in the history
  • Loading branch information
exuanbo committed Dec 5, 2023
1 parent a1947fe commit 2d841b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/features/controller/core/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -377,10 +377,10 @@ export class Controller {

public reset = (): void => {
this.resetSelf()
store.dispatch(resetMemoryData())
store.dispatch(resetCpuState())
store.dispatch(resetAssemblerState())
store.dispatch(resetMemoryData())
store.dispatch(clearEditorHighlightRange())
store.dispatch(resetAssemblerState())
store.dispatch(resetIoState())
}

Expand Down

0 comments on commit 2d841b1

Please sign in to comment.