The real fix should be to turn this flag on in RunPerl but
I think we are too close 5.8 to change that.
p4raw-id: //depot/perl@16057
SvTEMP_off(thread->init_function);
ptr_table_free(PL_ptr_table);
PL_ptr_table = NULL;
+ PL_exit_flags |= PERL_EXIT_DESTRUCT_END;
}
PERL_SET_CONTEXT(aTHX);