Revert "Partially revert 4155e4fe"
authorFather Chrysostomos <sprout@cpan.org>
Fri, 13 May 2011 05:16:57 +0000 (22:16 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Wed, 18 May 2011 21:54:34 +0000 (14:54 -0700)
This reverts commit 7f586e41ad4ecd904c7d8dbe1ddb0f9410484bac.

sv.c
t/op/ref.t

diff --git a/sv.c b/sv.c
index 7a23026..a218fff 100644 (file)
--- a/sv.c
+++ b/sv.c
@@ -582,9 +582,7 @@ 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))
index ea5bd2e..a6d8fa0 100644 (file)
@@ -380,7 +380,6 @@ curr_test($test + 2);
 # 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]'
@@ -395,7 +394,7 @@ is(
  "aaa\n",
  'DESTROY called on closure variable'
 );
-$TODO = undef;
+
 
 # test if refgen behaves with autoviv magic
 {