comparison src/if_perl.xs @ 19846:4acb165ed0bc v8.2.0479

patch 8.2.0479: unloading shared libraries on exit has no purpose Commit: https://github.com/vim/vim/commit/2027973b5be693577bea0731b50ea4904d19ea8b Author: Bram Moolenaar <Bram@vim.org> Date: Sun Mar 29 20:51:07 2020 +0200 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.
author Bram Moolenaar <Bram@vim.org>
date Sun, 29 Mar 2020 21:00:03 +0200
parents 2ef19eed524a
children a042d2a3b13d
comparison
equal deleted inserted replaced
19845:32787925de3c 19846:4acb165ed0bc
760 vim_IOLayer_init(); 760 vim_IOLayer_init();
761 #endif 761 #endif
762 } 762 }
763 763
764 /* 764 /*
765 * perl_end(): clean up after ourselves 765 * Clean up after ourselves.
766 */ 766 */
767 void 767 void
768 perl_end(void) 768 perl_end(void)
769 { 769 {
770 if (perl_interp) 770 if (perl_interp)
775 perl_interp = NULL; 775 perl_interp = NULL;
776 #if (PERL_REVISION == 5) && (PERL_VERSION >= 10) 776 #if (PERL_REVISION == 5) && (PERL_VERSION >= 10)
777 Perl_sys_term(); 777 Perl_sys_term();
778 #endif 778 #endif
779 } 779 }
780 #ifdef DYNAMIC_PERL
781 if (hPerlLib)
782 {
783 close_dll(hPerlLib);
784 hPerlLib = NULL;
785 }
786 #endif
787 } 780 }
788 781
789 /* 782 /*
790 * msg_split(): send a message to the message handling routines 783 * msg_split(): send a message to the message handling routines
791 * split at '\n' first though. 784 * split at '\n' first though.