Releases all resources used by the compiled script.
Namespace: Microsoft.ClearScript.V8Assembly: ClearScript.V8 (in ClearScript.V8.dll) Version: 7.5.0
Syntaxpublic abstract void Dispose()
Public MustOverride Sub Dispose
public:
virtual void Dispose() abstract
abstract Dispose : unit -> unit
Implements
IDisposable.Dispose()
Remarks
Call Dispose() when you are finished using the compiled script. Dispose()
leaves the compiled script in an unusable state. After calling Dispose(), you
must release all references to the compiled script so the garbage collector can reclaim
the memory that the compiled script was occupying.
See Also