Browse Source

Fixed crash when PhysicalTopologySource fails to open a MIDI device

tags/2021-05-28
tpoole 8 years ago
parent
commit
242b934163
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      modules/juce_blocks_basics/topology/juce_PhysicalTopologySource.cpp

+ 2
- 1
modules/juce_blocks_basics/topology/juce_PhysicalTopologySource.cpp View File

@@ -132,7 +132,8 @@ struct PhysicalTopologySource::Internal
listeners.call (&Listener::connectionBeingDeleted, *this);
midiInput->stop();
if (midiInput != nullptr)
midiInput->stop();
}
struct Listener


Loading…
Cancel
Save