mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-30 03:01:58 -04:00
fix(ipc): break out of service loop when response stream is closed (#22710)
This commit is contained in:
@@ -532,9 +532,8 @@ async fn to_ipc_service<S, T>(
|
||||
break
|
||||
}
|
||||
item = rx_item.next() => {
|
||||
if let Some(item) = item {
|
||||
conn.push_back(item.to_string());
|
||||
}
|
||||
let Some(item) = item else { break };
|
||||
conn.push_back(item.to_string());
|
||||
}
|
||||
_ = &mut stopped => {
|
||||
// shutdown
|
||||
|
||||
Reference in New Issue
Block a user