We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73c02f1 commit be48bbeCopy full SHA for be48bbe
perlio.c
@@ -2563,8 +2563,10 @@ S_perlio_async_run(pTHX_ PerlIO* f) {
2563
SAVEDESTRUCTOR_X(S_lockcnt_dec, (void*)f);
2564
PerlIO_lockcnt(f)++;
2565
PERL_ASYNC_CHECK();
2566
- if ( !(PerlIOBase(f)->flags & PERLIO_F_CLEARED) )
+ if ( !(PerlIOBase(f)->flags & PERLIO_F_CLEARED) ) {
2567
+ LEAVE;
2568
return 0;
2569
+ }
2570
/* we've just run some perl-level code that could have done
2571
* anything, including closing the file or clearing this layer.
2572
* If so, free any lower layers that have already been
@@ -2576,6 +2578,7 @@ S_perlio_async_run(pTHX_ PerlIO* f) {
2576
2578
*f = l->next;
2577
2579
Safefree(l);
2580
}
2581
2582
return 1;
2583
2584
0 commit comments