0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -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:
Bram Moolenaar
2020-03-29 20:51:07 +02:00
parent 5908fdf72f
commit 2027973b5b
7 changed files with 3 additions and 75 deletions

View File

@@ -398,16 +398,6 @@ static const luaV_Reg luaV_dll[] = {
static HANDLE hinstLua = NULL;
static void
end_dynamic_lua(void)
{
if (hinstLua)
{
close_dll(hinstLua);
hinstLua = 0;
}
}
static int
lua_link_init(char *libname, int verbose)
{
@@ -2121,9 +2111,6 @@ lua_end(void)
{
lua_close(L);
L = NULL;
#ifdef DYNAMIC_LUA
end_dynamic_lua();
#endif
}
}