summaryrefslogtreecommitdiff
path: root/mro.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2012-11-19 19:59:49 -0800
committerFather Chrysostomos <sprout@cpan.org>2012-11-19 21:31:56 -0800
commit95f9781bc2fad025553db0160ef9c2c5363312a1 (patch)
tree830fba988683527a3602343e09bb53ecef6342ab /mro.c
parentd8b5cc61ad1c61d5e16186bb3a5123a146ab7e15 (diff)
downloadperl-95f9781bc2fad025553db0160ef9c2c5363312a1.tar.gz
Revert "8c34e50dc slowed down detruction with no DESTROY"
This reverts commit 7cc6787e9dbebdd83799d997361188ab6dfe8ead. That commit is causing crashes on Windows for some as yet unknown rea- son. (See ticket #115830.) I don’t have time to fix it before the release of 5.17.6.
Diffstat (limited to 'mro.c')
-rw-r--r--mro.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/mro.c b/mro.c
index be2038f4e7..2d1d887fe8 100644
--- a/mro.c
+++ b/mro.c
@@ -578,7 +578,6 @@ Perl_mro_isa_changed_in(pTHX_ HV* stash)
revmeta->cache_gen++;
if(revmeta->mro_nextmethod)
hv_clear(revmeta->mro_nextmethod);
- if (!SvOBJECT(revstash)) SvSTASH(revstash) = NULL;
(void)
hv_store(
@@ -1357,7 +1356,6 @@ Perl_mro_method_changed_in(pTHX_ HV *stash)
mrometa->cache_gen++;
if(mrometa->mro_nextmethod)
hv_clear(mrometa->mro_nextmethod);
- if (!SvOBJECT(revstash)) SvSTASH(revstash) = NULL;
}
}