mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.2.0479: unloading shared libraries on exit has no purpose
Problem: Unloading shared libraries on exit has no purpose. Solution: Do not unload shared libraries on exit.
This commit is contained in:
@@ -654,19 +654,6 @@ static struct
|
||||
{"", NULL},
|
||||
};
|
||||
|
||||
/*
|
||||
* 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.
|
||||
@@ -889,7 +876,6 @@ python_end(void)
|
||||
# endif
|
||||
Py_Finalize();
|
||||
}
|
||||
end_dynamic_python();
|
||||
#else
|
||||
if (Py_IsInitialized())
|
||||
{
|
||||
|
Reference in New Issue
Block a user