Skip to content

Commit b57cd06

Browse files
committed
Implement disconnect
1 parent 5b1a825 commit b57cd06

File tree

1 file changed

+2
-1
lines changed
  • crates/processing_render/src

1 file changed

+2
-1
lines changed

crates/processing_render/src/midi.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ pub fn connect(In(port): In<usize>, output: Res<MidiOutput>) -> Result<()> {
2424
Ok(())
2525
}
2626

27-
pub fn disconnect() -> Result<()> {
27+
pub fn disconnect(output: Res<MidiOutput>) -> Result<()> {
28+
output.disconnect();
2829
Ok(())
2930
}
3031

0 commit comments

Comments
 (0)