fsharp/FSharp.Compiler.Service — pull request #119 by kevmal (2014-04-13 16:19:49+00:00)
Title: Addded Finalizer to MemoryMappedFile

Memory mapped files were not getting closed. TcImports attaches a dispose function to it's list of disposables to close the map, however, TcImports is never disposed in the "main" fsc.fs functions. So either TcImports needs to be disposed, a Finalizer needs to be added to TcImports or a Finalizer needs to be added to MemoryMappedFile. Here the Finalizer was added as close to the resources as possible.