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))
# test that DESTROY is called on all objects during global destruction,
# even those without hard references [perl #36347]
-$TODO = 'bug #36347';
is(
runperl(
stderr => 1, prog => 'sub DESTROY { print qq-aaa\n- } bless \$a[0]'
"aaa\n",
'DESTROY called on closure variable'
);
-$TODO = undef;
+
# test if refgen behaves with autoviv magic
{