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 6f1219f commit f463520Copy full SHA for f463520
pythonnet/__init__.py
@@ -63,7 +63,7 @@ def unload():
63
global _RUNTIME
64
if _LOADER_ASSEMBLY is not None:
65
func = _LOADER_ASSEMBLY["Python.Runtime.Loader.Shutdown"]
66
- if func(b"") != 0:
+ if func(b"full_shutdown") != 0:
67
raise RuntimeError("Failed to call Python.NET shutdown")
68
69
if _RUNTIME is not None:
0 commit comments