1 parent 2596cdf commit ec8b69fCopy full SHA for ec8b69f
1 file changed
src/runtime/metatype.cs
@@ -37,6 +37,10 @@ public static PyType Initialize()
37
38
public static void Release()
39
{
40
+ if (Runtime.HostedInPython)
41
+ {
42
+ _metaSlotsHodler.ResetSlots();
43
+ }
44
PyCLRMetaType.Dispose();
45
}
46
0 commit comments