IJavaScriptEnginePool.

DisposeEngine(IJavaScriptEngine, bool) Method

Summary

Disposes the specified engine.
Assembly
Wyam.Common.dll
Namespace
Wyam.Common.JavaScript
Containing Type
IJavaScriptEnginePool

Syntax

void DisposeEngine(IJavaScriptEngine engine, bool repopulateEngines = true)

Parameters

Name Type Description
engine IJavaScriptEngine Engine to dispose
repopulateEngines bool If true, a new engine will be created to replace the disposed engine

Return Value

Type Description
void
GitHub