[svn:ponie] rev 286 - trunk/src/pmc
[email protected] 12 May 2005 10:23:16 -0000
| Newsgroups | perl.ponie.changes |
|---|---|
| Message-ID | <[email protected]> |
Author: nicholas
Date: Thu May 12 03:23:15 2005
New Revision: 286
Modified:
trunk/src/pmc/perl5pvgv.pmc
Log:
Mmm. Looks like removing ourselves from the stash is not the way to go.
Modified: trunk/src/pmc/perl5pvgv.pmc
==============================================================================
--- trunk/src/pmc/perl5pvgv.pmc (original)
+++ trunk/src/pmc/perl5pvgv.pmc Thu May 12 03:23:15 2005
@@ -108,6 +108,8 @@
SV *sv = MUMBLE(SELF);
HV *stash = GvSTASH(sv);
+ /* XXX Not the way to go. Figure out why. */
+#if 0
if (stash) {
/* The stash holds a reference to us. It we try to delete
our entry in the stash then it will recursively try to
@@ -120,6 +122,7 @@
*in_stash = &PL_sv_placeholder;
}
}
+#endif
Ponie_freescalar_common_magic(sv);
gp_free((GV*)sv);