Skip to content

NodejsEnvironment.GC method

Runs garbage collection in the JS environment.

C#
public void GC()

Exceptions

exceptioncondition
InvalidOperationExceptionThe Node.js platform was not initialized with the --expose-gc option.

See Also

Released under the MIT license