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.
diff --git a/src/if_perl.xs b/src/if_perl.xs
index 12e1a22..3af309a 100644
--- a/src/if_perl.xs
+++ b/src/if_perl.xs
@@ -762,7 +762,7 @@
}
/*
- * perl_end(): clean up after ourselves
+ * Clean up after ourselves.
*/
void
perl_end(void)
@@ -777,13 +777,6 @@
Perl_sys_term();
#endif
}
-#ifdef DYNAMIC_PERL
- if (hPerlLib)
- {
- close_dll(hPerlLib);
- hPerlLib = NULL;
- }
-#endif
}
/*