Skip to content

Commit

Permalink
interp/wasman: setting instance pointer to nil after halting
Browse files Browse the repository at this point in the history
Signed-off-by: deadprogram <[email protected]>
  • Loading branch information
deadprogram committed Feb 22, 2024
1 parent 0b012a6 commit d63e0f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions interp/wasman/interp.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ func (i *Interpreter) Run() (engine.Instance, error) {
}

func (i *Interpreter) Halt() error {
i.instance = nil
return nil
}

Expand Down

0 comments on commit d63e0f7

Please sign in to comment.