FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Activate shutdown · amanjaingithub/pythonnet@f463520 · GitHub

Repository navigation

Commit f463520

Browse files
committed
Activate shutdown
1 parent 6f1219f commit f463520

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎pythonnet/__init__.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def unload():
6363
global _RUNTIME
6464
if _LOADER_ASSEMBLY is not None:
6565
func = _LOADER_ASSEMBLY["Python.Runtime.Loader.Shutdown"]
66-
if func(b"") != 0:
66+
if func(b"full_shutdown") != 0:
6767
raise RuntimeError("Failed to call Python.NET shutdown")
6868

6969
if _RUNTIME is not None:

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL