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:
@@ -634,19 +634,6 @@ py3__Py_XDECREF(PyObject *op)
|
||||
# define Py_XDECREF(op) py3__Py_XDECREF(_PyObject_CAST(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.
|
||||
@@ -873,10 +860,6 @@ python3_end(void)
|
||||
Py_Finalize();
|
||||
}
|
||||
|
||||
#ifdef DYNAMIC_PYTHON3
|
||||
end_dynamic_python3();
|
||||
#endif
|
||||
|
||||
--recurse;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user