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
@@ -33,9 +38,9 @@ type SingleRootTypeProvider(config: TypeProviderConfig, providerName, parameters
33
38
then
34
39
letm= cache.CreateCacheEntryChangeMonitor [ key ]
35
40
m.NotifyOnChanged(fun _ ->
36
-
ifnotdisposingCache
41
+
ifnotclearingCache
37
42
then
38
-
disposeCache()
43
+
clearCache()
39
44
this.Invalidate()
40
45
)
41
46
changeMonitors.Add(m)
@@ -62,6 +67,6 @@ type SingleRootTypeProvider(config: TypeProviderConfig, providerName, parameters
62
67
this.AddNamespace( nameSpace,[ providerType ])
63
68
64
69
do
65
-
this.Disposing.Add <|fun _ ->disposeCache()
70
+
this.Disposing.Add <|fun _ ->clearCache()
66
71
67
72
abstractCreateRootType: assemblyName:Assembly* nameSpace:string* typeName:string* args:obj[]->Lazy<ProvidedTypeDefinition>*obj[]// ChangeMonitor[] underneath but there is a problem https://github.com/fsprojects/FSharp.Data.SqlClient/issues/234#issuecomment-240694390
0 commit comments