Skip to content

Commit

Permalink
Avoid calling ->done on a Ryu::Source
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-binary committed May 29, 2024
1 parent 6c336a6 commit 08551f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Myriad/RPC/Client/Implementation/Redis.pm
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ async method start() {
} catch ($e) {
$log->warnf('failed to parse rpc response due %s', $e);
}
})->completed;
});

$started->done('started');
$log->tracef('Started RPC client subscription on %s', $whoami);
Expand Down Expand Up @@ -109,7 +109,7 @@ async method call_rpc($service, $method, %args) {
}

async method stop {
$subscription->done();
$subscription->finish
}

method next_id {
Expand Down

0 comments on commit 08551f9

Please sign in to comment.