Skip to content

Commit

Permalink
fix: preserve key in var_set
Browse files Browse the repository at this point in the history
  • Loading branch information
zshipko committed Sep 19, 2024
1 parent fe558a2 commit 5e1d1f3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/call-context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,6 @@ export class CallContext {
}

const key = item.string();
this[ENV].free(Number(addr));

if (valueaddr === 0n) {
this.deleteVariable(key)
Expand Down

0 comments on commit 5e1d1f3

Please sign in to comment.