Skip to content

Commit

Permalink
swap actyxInstanceRegister.subOne and disposeCall
Browse files Browse the repository at this point in the history
  • Loading branch information
Kelerchian committed Oct 30, 2023
1 parent 80ddce7 commit fc39630
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/sdk/src/actyx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ export const Actyx = {
// Patch dispose
const oldDispose = actyx.dispose
actyx.dispose = () => {
const result = oldDispose()
actyxInstanceRegister.subOne(manifest, opts)
const result = oldDispose()
return result
}
actyxInstanceRegister.addOne(manifest, opts)
Expand Down

0 comments on commit fc39630

Please sign in to comment.