NodejsEnvironment.GC method
Runs garbage collection in the JS environment.
C#
public void GC()
Exceptions
exception | condition |
---|---|
InvalidOperationException | The Node.js platform was not initialized with the --expose-gc option. |
See Also
- class NodejsEnvironment
- namespace Microsoft.JavaScript.NodeApi.Runtime