Skip to content

Commit 73dff8d

Browse files
committed
dispose fsi at the end of a scripting session
1 parent e69e4f1 commit 73dff8d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/fsharp/FSharp.Compiler.Private.Scripting/FSharpScript.fs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,3 +83,4 @@ type FSharpScript(?captureInput: bool, ?captureOutput: bool, ?additionalArgs: st
8383
stdin.Dispose()
8484
stdout.Dispose()
8585
stderr.Dispose()
86+
(fsi :> IDisposable).Dispose()

0 commit comments

Comments
 (0)