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
Not too familiar with TP implementation, but it seems that the anti pattern here is storing reference to the TP instance, and maybe this extends to some other objects generated there.
It maybe the guidelines in documentation and samples that would benefit from adding emphasis regarding potential memory leak if not following some rules.
(copied and paraphrased over from @dsyme's PR)
The following mistakes in type provider authoring can result in a memory leak:
ProvidedTypeDefinition
in a global cache in its own .dllThe compiler should be able to still release these resources.
The text was updated successfully, but these errors were encountered: