Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: Correct ClearScript Cleanup

0
0
Hi egooner,

Calling the Dispose() method - either directly or via the using statement - is sufficient. If you don't do that, .NET's garbage collector will eventually take care of it, but it may take a long time.

As for engine names, "V8ScriptEngine [5]" refers to the fifth engine you've constructed with the name "V8ScriptEngine" during the current process's lifetime. It doesn't mean that there are five script engines currently active.

Cheers!

Viewing all articles
Browse latest Browse all 2297