Skip to content

Commit

Permalink
fix(controller): do not reset assembler state on full reset
Browse files Browse the repository at this point in the history
  • Loading branch information
exuanbo committed Dec 6, 2023
1 parent e25b08a commit c568d2f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/features/controller/core/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { subscribe } from '@/app/subscribe'
import { call } from '@/common/utils'
import { assemble as assembleFrom } from '@/features/assembler/assemble'
import {
resetAssemblerState,
selectAddressToStatementMap,
selectAssembledSource,
} from '@/features/assembler/assemblerSlice'
Expand Down Expand Up @@ -384,7 +383,6 @@ export class Controller {
store.dispatch(resetCpuState())
store.dispatch(resetMemoryData())
store.dispatch(clearEditorHighlightRange())
store.dispatch(resetAssemblerState())
store.dispatch(resetIoState())
}

Expand Down

0 comments on commit c568d2f

Please sign in to comment.