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 d43a21f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ prepare:
npm ci
fi

playwright install --with-deps
# playwright install --with-deps

_build out args='[]': prepare
#!/bin/bash
Expand Down
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 d43a21f

Please sign in to comment.