summaryrefslogtreecommitdiffstats
path: root/src/if_ruby.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_ruby.c
parent5908fdf72fa1995735e38c46f254ddde81a87c1f (diff)
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_ruby.c')
-rw-r--r--src/if_ruby.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/if_ruby.c b/src/if_ruby.c
index a4a59f6bda..80481e7d24 100644
--- a/src/if_ruby.c
+++ b/src/if_ruby.c
@@ -736,19 +736,6 @@ static struct
};
/*
- * 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.
* Return OK or FAIL.
@@ -797,9 +784,6 @@ ruby_enabled(int verbose)
void
ruby_end(void)
{
-#ifdef DYNAMIC_RUBY
- end_dynamic_ruby();
-#endif
}
void