X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=Cleanup.xs;h=cc55d59e98eec3206bb0b6b3afbce854c8555372;hb=f178c1e569b78464ea63bf184389cf1b00804690;hp=34296e1d22116b68b21ade2426941dc496510255;hpb=15b9171b2fc61b12e0dcc123369fc2b66fe87012;p=perl%2Fmodules%2FThread-Cleanup.git 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;