summaryrefslogtreecommitdiff
path: root/src/if_python3.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-03-29 20:51:07 +0200
committerBram Moolenaar <Bram@vim.org>2020-03-29 20:51:07 +0200
commit2027973b5be693577bea0731b50ea4904d19ea8b (patch)
tree9d1be9f140c9ba2e03bac242fb52ee99288a6313 /src/if_python3.c
parent5908fdf72fa1995735e38c46f254ddde81a87c1f (diff)
downloadvim-git-2027973b5be693577bea0731b50ea4904d19ea8b.tar.gz
patch 8.2.0479: unloading shared libraries on exit has no purposev8.2.0479
Problem: Unloading shared libraries on exit has no purpose. Solution: Do not unload shared libraries on exit.
Diffstat (limited to 'src/if_python3.c')
-rw-r--r--src/if_python3.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/if_python3.c b/src/if_python3.c
index 2985e9c89..ecca163b0 100644
--- a/src/if_python3.c
+++ b/src/if_python3.c
@@ -635,19 +635,6 @@ py3__Py_XDECREF(PyObject *op)
# endif
/*
- * Free python.dll
- */
- static void
-end_dynamic_python3(void)
-{
- if (hinstPy3 != 0)
- {
- close_dll(hinstPy3);
- hinstPy3 = 0;
- }
-}
-
-/*
* Load library and get all pointers.
* Parameter 'libname' provides name of DLL.
* Return OK or FAIL.
@@ -873,10 +860,6 @@ python3_end(void)
Py_Finalize();
}
-#ifdef DYNAMIC_PYTHON3
- end_dynamic_python3();
-#endif
-
--recurse;
}