Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitec8b69f

Browse files
committed
attempt to fix crash on shutdown of Python executable
1 parent2596cdf commitec8b69f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎src/runtime/metatype.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ public static PyType Initialize()
3737

3838
publicstaticvoidRelease()
3939
{
40+
if(Runtime.HostedInPython)
41+
{
42+
_metaSlotsHodler.ResetSlots();
43+
}
4044
PyCLRMetaType.Dispose();
4145
}
4246

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp