You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update: This alone doesn't give any protection against memory leaks because the TypeProviderConfig object given to the type provider still captures the FCS resources.
The real solution is that the type provider should dispose of things properly.
See this comment: #158 (comment)
We should unsubscribe from the Invalidate event and/or use a weak reference, to reduce the impact of leaks like this: https://github.com/fsharp/FSharp.Compiler.Service/blob/master/src/fsharp/build.fs#L4091
The text was updated successfully, but these errors were encountered: