insufficient attempt to drop references to a shadow MIDI port

This commit is contained in:
Paul Davis
2016-09-30 11:16:49 -04:00
parent 3d256ff2c2
commit 9480dc1c6a

View File

@@ -48,6 +48,10 @@ MidiPort::MidiPort (const std::string& name, PortFlags flags)
MidiPort::~MidiPort()
{
if (_shadow_port) {
_shadow_port->disconnect_all ();
}
delete _buffer;
}