diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-03-29 20:51:07 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-03-29 20:51:07 +0200 |
commit | 2027973b5be693577bea0731b50ea4904d19ea8b (patch) | |
tree | 9d1be9f140c9ba2e03bac242fb52ee99288a6313 /src/if_ruby.c | |
parent | 5908fdf72fa1995735e38c46f254ddde81a87c1f (diff) | |
download | vim-git-2027973b5be693577bea0731b50ea4904d19ea8b.tar.gz |
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.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/if_ruby.c b/src/if_ruby.c index a4a59f6bd..80481e7d2 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 |