Skip to content

Commit fe07765

Browse files
committed
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.
1 parent 81cfc06 commit fe07765

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sv.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15423,6 +15423,7 @@ perl_clone_using(PerlInterpreter *proto_perl, UV flags,
1542315423

1542415424
/* for each stash, determine whether its objects should be cloned */
1542515425
S_visit(proto_perl, do_mark_cloneable_stash, SVt_PVHV, SVTYPEMASK);
15426+
my_perl->Iphase = PERL_PHASE_CONSTRUCT;
1542615427
PERL_SET_THX(my_perl);
1542715428

1542815429
#ifdef DEBUGGING

0 commit comments

Comments
 (0)