Skip to content

Commit d464672

Browse files
committed
Return $@ to state before eval
See: 08a236b
1 parent 52450ea commit d464672

File tree

1 file changed

+1
-0
lines changed
  • lib/AnyEvent/HTTP/Server

1 file changed

+1
-0
lines changed

lib/AnyEvent/HTTP/Server/Req.pm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -588,6 +588,7 @@ BEGIN {
588588
my $caller = "@{[ (caller)[1,2] ]}";
589589
# warn "Destroy req $self->{method} $self->{uri} by $caller";
590590
if( $self->{writer} ) {
591+
local $@;
591592
eval {
592593
if ($self->{chunked}) {
593594
$self->abort();

0 commit comments

Comments
 (0)