summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-01-30 18:57:35 -0800
committerFather Chrysostomos <sprout@cpan.org>2011-01-30 18:58:20 -0800
commit7f586e41ad4ecd904c7d8dbe1ddb0f9410484bac (patch)
tree3fe661f935327663a3b71cd97670971198605ab7 /sv.c
parent4e0d6ba89bf706d54e3a5e8cfc009a6a16536765 (diff)
downloadperl-7f586e41ad4ecd904c7d8dbe1ddb0f9410484bac.tar.gz
Partially revert 4155e4fe
This disables the fix for [perl #36347], which made sure that unrefer- enced objects were DESTROYed, marking the tests as to-do. This bug fix broke three CPAN modules. I will probably not have time to fix them before 5.14, so disabling the fix until after 5.14 seems the safest option. This resolves [perl #82542] and other related tickets.
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sv.c b/sv.c
index 1c5a0f14b7..fe096ba4bd 100644
--- a/sv.c
+++ b/sv.c
@@ -582,7 +582,9 @@ Perl_sv_clean_objs(pTHX)
visit(do_clean_named_io_objs, SVt_PVGV|SVpgv_GP, SVTYPEMASK|SVp_POK|SVpgv_GP);
/* And if there are some very tenacious barnacles clinging to arrays,
closures, or what have you.... */
+ /* XXX This line breaks Tk and Gtk2. See [perl #82542].
visit(do_curse, SVs_OBJECT, SVs_OBJECT);
+ */
olddef = PL_defoutgv;
PL_defoutgv = NULL; /* disable skip of PL_defoutgv */
if (olddef && isGV_with_GP(olddef))