Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7898833

Browse files
author
dse
committed
Init/Shutdown state variable (IsFinalizing) fix.
1 parent 64acfcb commit 7898833

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/runtime/runtime.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,8 @@ internal static void Initialize()
221221
PyEval_InitThreads();
222222
}
223223

224+
IsFinalizing = false;
225+
224226
CLRModule.Reset();
225227
GenericUtil.Reset();
226228
PyScopeManager.Reset();

0 commit comments

Comments
 (0)