Summary
Disposes the specified engine.
- Assembly
- Wyam
.Common .dll - Namespace
- Wyam
.Common .JavaScript - Containing Type
- I
Java Script Engine Pool
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 |