matthid/Yaaf.FSharp.Scripting

FsiEvaluationSession is disposable

dsyme opened this issue · 1 comments

FsiEvaluationSession is IDisposable, and failing to dispose it may leak considerable resources since it installs an assembly resolve handler which in turn holds on to a lot of other resources.

it would be best if the ScriptHost revealed this and allowed the caller to dispose of the ScriptHost.

Thank you!