summaryrefslogtreecommitdiffstats
path: root/src/rxvtperl.xs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2020-11-25 23:05:19 +0100
committertv <tv@krebsco.de>2020-11-25 23:05:19 +0100
commitd63f96ad2e9478db9dc064f050bffd4b0a8a3881 (patch)
tree8bf01f30c827cdca7b31816fcbad93f944608178 /src/rxvtperl.xs
parent15f3f94c19fb873e3687c07a3056921ade5266fa (diff)
do not call perl_destructno-perl_destruct
Backport of 74dcd66efcfd778a0b3f70c187316367483c02e2.
Diffstat (limited to 'src/rxvtperl.xs')
-rw-r--r--src/rxvtperl.xs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rxvtperl.xs b/src/rxvtperl.xs
index 963a445..3018715 100644
--- a/src/rxvtperl.xs
+++ b/src/rxvtperl.xs
@@ -372,6 +372,9 @@ struct rxvt_perl_interp rxvt_perl;
static PerlInterpreter *perl;
+#if 0 /* we are not a library anymore, so doing this is just not worth it */
+/*THINK/TODO: this has the side effect of, of course, not calling destructors. */
+/* but therse are not guaranteed anyway... */
rxvt_perl_interp::~rxvt_perl_interp ()
{
if (perl)
@@ -381,6 +384,7 @@ rxvt_perl_interp::~rxvt_perl_interp ()
PERL_SYS_TERM ();
}
}
+#endif
void
rxvt_perl_interp::init ()