The Jsonnet class constructor doesn't set up the VM; this is deferred until the user calls init(). However it's important for the vm_ field to itself be initialised to a known value. The Jsonnet destructor will attempt to destroy the VM only if the vm_ field is not null.
The
Jsonnet
class constructor doesn't set up the VM; this is deferred until the user callsinit()
. However it's important for thevm_
field to itself be initialised to a known value. TheJsonnet
destructor will attempt to destroy the VM only if thevm_
field is not null.