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

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fixed dllLocal not being initialized.
  • Loading branch information
benoithudson committed Oct 9, 2020
commit 90c70dce977a378d90795a502eddf739bef3df48
2 changes: 1 addition & 1 deletion src/runtime/runtime.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2155,7 +2155,7 @@ internal static void Py_CLEAR(ref IntPtr ob)
internal static void SetNoSiteFlag()
{
var loader = LibraryLoader.Get(NativeCodePageHelper.OperatingSystem);
IntPtr dllLocal;
IntPtr dllLocal = IntPtr.Zero;
if (_PythonDll != "__Internal")
{
dllLocal = loader.Load(_PythonDll);
Expand Down