From 2027973b5be693577bea0731b50ea4904d19ea8b Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 29 Mar 2020 20:51:07 +0200 Subject: 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. --- src/if_ruby.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'src/if_ruby.c') 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 @@ -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 -- cgit v1.2.1