X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FThread-Cleanup.git;a=blobdiff_plain;f=Cleanup.xs;h=cc55d59e98eec3206bb0b6b3afbce854c8555372;hp=34296e1d22116b68b21ade2426941dc496510255;hb=f77be155e989d3ee336808d996da35ba5e14c9ef;hpb=15b9171b2fc61b12e0dcc123369fc2b66fe87012 diff --git a/Cleanup.xs b/Cleanup.xs index 34296e1..cc55d59 100644 --- a/Cleanup.xs +++ b/Cleanup.xs @@ -1,5 +1,5 @@ -/* This file is part of the Scope::Upper Perl module. - * See http://search.cpan.org/dist/Scope-Upper/ */ +/* This file is part of the Thread::Cleanup Perl module. + * See http://search.cpan.org/dist/Thread-Cleanup/ */ #define PERL_NO_GET_CONTEXT #include "EXTERN.h" @@ -31,9 +31,9 @@ STATIC void tc_callback(pTHX_ void *ud) { PUSHMARK(SP); PUTBACK; - call_pv(__PACKAGE__ "::_CLEANUP", G_VOID); + call_pv(__PACKAGE__ "::_CLEANUP", G_VOID | G_EVAL); - SPAGAIN; + PUTBACK; FREETMPS; LEAVE;