diff options
Diffstat (limited to 'test.pl')
-rwxr-xr-x | test.pl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -121,7 +121,7 @@ sub t_double { on_ready => sub { $done->end }, $DEBUG ? (on_write => sub { note 'A: ',Data::Dumper::Dumper(\@_) }) : (), ); - $sb->link(AnyEvent::Handle->new(fh => $sockb), sync => $f&2, init => 1, + $sb->link(AnyEvent::Handle->new(fh => $sockb), sync => $f&2, on_ready => sub { $done->end }, $DEBUG ? (on_write => sub { note 'B: ',Data::Dumper::Dumper(\@_) }) : (), ); |