summaryrefslogtreecommitdiff
path: root/src/if_python.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_python.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_python.c')
-rw-r--r--src/if_python.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/if_python.c b/src/if_python.c
index 7b2207085..394ed3e4a 100644
--- a/src/if_python.c
+++ b/src/if_python.c
@@ -655,19 +655,6 @@ static struct
};
/*
- * Free python.dll
- */
- static void
-end_dynamic_python(void)
-{
- if (hinstPython)
- {
- close_dll(hinstPython);
- hinstPython = 0;
- }
-}
-
-/*
* Load library and get all pointers.
* Parameter 'libname' provides name of DLL.
* Return OK or FAIL.
@@ -889,7 +876,6 @@ python_end(void)
# endif
Py_Finalize();
}
- end_dynamic_python();
#else
if (Py_IsInitialized())
{