… | … | ||
---|---|---|---|
414 | fh => $fh, | 414 | fh => $fh, |
415 | path => $path, | 415 | path => $path, |
416 | }, $class; | 416 | }, $class; |
417 | 417 | ||
418 | $self->{cw} = AnyEvent->io (fh => $fh, poll => 'r', cb => sub { | 418 | $self->{cw} = AnyEvent->io (fh => $fh, poll => 'r', cb => sub { |
419 | my $fh = $fh->accept; | ||
419 | Coro::async_pool { | 420 | Coro::async_pool { |
420 | $Coro::current->desc ("[Coro::Debug session]"); | 421 | $Coro::current->desc ("[Coro::Debug session]"); |
421 | session +$fh->accept; | 422 | session $fh; |
422 | }; | 423 | }; |
423 | }); | 424 | }); |
424 | 425 | ||
425 | $self | 426 | $self |
426 | } | 427 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |