8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a83fe5 commit 92bc145Copy full SHA for 92bc145
src/runtime/runtime.cs
@@ -1976,11 +1976,9 @@ internal static void SetNoSiteFlag()
1976
{
1977
var loader = LibraryLoader.Get(OperatingSystem);
1978
1979
- IntPtr dllLocal;
1980
- if (_PythonDll != "__Internal")
1981
- {
1982
- dllLocal = loader.Load(_PythonDll);
1983
- }
+ IntPtr dllLocal = _PythonDll != "__Internal"
+ ? loader.Load(_PythonDll)
+ : IntPtr.Zero;
1984
1985
try
1986
0 commit comments