Skip to content

Commit

Permalink
Fix call to Close()
Browse files Browse the repository at this point in the history
  • Loading branch information
camilbancioiu committed Nov 14, 2019
1 parent d19ed99 commit 9058aa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arwen/context/arwen.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ func (host *vmContext) RunSmartContractCreate(input *vmcommon.ContractCreateInpu
return host.createVMOutputInCaseOfError(vmcommon.ContractInvalid), nil
}

defer host.instance.Close()
defer host.instance.Clean()

idContext := arwen.AddHostContext(host)
host.instance.SetContextData(unsafe.Pointer(&idContext))
Expand Down

0 comments on commit 9058aa6

Please sign in to comment.