Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b52bc01 commit bfbf2c3Copy full SHA for bfbf2c3
2 files changed
src/runtime/classmanager.cs
@@ -39,7 +39,7 @@ public static void Reset()
39
cache = new Dictionary<Type, ClassBase>(128);
40
}
41
42
- internal static void RemoveClasses()
+ internal static void DisposePythonWrappersForClrTypes()
43
{
44
var visited = new HashSet<IntPtr>();
45
var visitedHandle = GCHandle.Alloc(visited);
src/runtime/runtime.cs
@@ -334,7 +334,7 @@ internal static void Shutdown()
334
RemoveClrRootModule();
335
336
MoveClrInstancesOnwershipToPython();
337
- ClassManager.RemoveClasses();
+ ClassManager.DisposePythonWrappersForClrTypes();
338
TypeManager.RemoveTypes();
339
340
MetaType.Release();
0 commit comments