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:
@@ -735,19 +735,6 @@ static struct
|
||||
{"", NULL},
|
||||
};
|
||||
|
||||
/*
|
||||
* Free ruby.dll
|
||||
*/
|
||||
static void
|
||||
end_dynamic_ruby(void)
|
||||
{
|
||||
if (hinstRuby)
|
||||
{
|
||||
close_dll(hinstRuby);
|
||||
hinstRuby = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Load library and get all pointers.
|
||||
* Parameter 'libname' provides name of DLL.
|
||||
@@ -797,9 +784,6 @@ ruby_enabled(int verbose)
|
||||
void
|
||||
ruby_end(void)
|
||||
{
|
||||
#ifdef DYNAMIC_RUBY
|
||||
end_dynamic_ruby();
|
||||
#endif
|
||||
}
|
||||
|
||||
void
|
||||
|
Reference in New Issue
Block a user