summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2022-09-29 12:33:21 -0600
committerKarl Williamson <khw@cpan.org>2022-10-18 06:22:16 -0600
commit7d6b94bd41d6d1ff762b10b7f7f43889321d3a3f (patch)
tree0252dcadeb177f683af73b546314d0490c15f69d /sv.c
parent1c33371ae09893c7dcf660df882cc1a5dbc37266 (diff)
downloadperl-7d6b94bd41d6d1ff762b10b7f7f43889321d3a3f.tar.gz
sv.c: Set phase to CONSTRUCT on interpreter being cloned
So far this hadn't been an issue, but it will be for a future commit.
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sv.c b/sv.c
index a8578b03db..13a5ee5150 100644
--- a/sv.c
+++ b/sv.c
@@ -15423,6 +15423,7 @@ perl_clone_using(PerlInterpreter *proto_perl, UV flags,
/* for each stash, determine whether its objects should be cloned */
S_visit(proto_perl, do_mark_cloneable_stash, SVt_PVHV, SVTYPEMASK);
+ my_perl->Iphase = PERL_PHASE_CONSTRUCT;
PERL_SET_THX(my_perl);
#ifdef DEBUGGING