we run destroy on the old, cures segfault on linux.
p4raw-id: //depot/perl@17481
destroyperl = thread->interp;
thread->interp = NULL;
}
- PERL_SET_CONTEXT(aTHX);
MUTEX_UNLOCK(&thread->mutex);
MUTEX_DESTROY(&thread->mutex);
PerlMemShared_free(thread);
perl_destruct(destroyperl);
perl_free(destroyperl);
}
+ PERL_SET_CONTEXT(aTHX);
}
int