Skip to content

Commit 7e8cef2

Browse files
OpenSauceCopilot
andauthored
Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 7d6d48e commit 7e8cef2

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

src/io/manager.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,13 @@ impl ProcessorManager {
140140

141141
if let Some(port) = client.port_by_name("rustortion:out_port_right") {
142142
client.disconnect(&port).unwrap_or_else(|e| {
143-
error!("Failed to disconnect in_port: {e}");
143+
error!("Failed to disconnect out_port_left: {e}");
144+
});
145+
}
146+
147+
if let Some(port) = client.port_by_name("rustortion:out_port_right") {
148+
client.disconnect(&port).unwrap_or_else(|e| {
149+
error!("Failed to disconnect out_port_right: {e}");
144150
});
145151
}
146152
}

0 commit comments

Comments
 (0)