diff options
author | Carl Hetherington <carl@carlh.net> | 2011-12-15 14:33:20 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-12-15 14:33:20 +0000 |
commit | 084cd5ffdac48377839dcc4e1435974d57b5ad59 (patch) | |
tree | ab03e7d6b51e81da60907c9fb128db49bc6b2fee /libs/midi++2/port.cc | |
parent | c3d1a8dda566c99548803a8511e57fc3b9e0f070 (diff) |
Add basic test of playlist layering.
git-svn-id: svn://localhost/ardour2/branches/3.0@11011 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/midi++2/port.cc')
-rw-r--r-- | libs/midi++2/port.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/midi++2/port.cc b/libs/midi++2/port.cc index 59f76041d6..213f55aa19 100644 --- a/libs/midi++2/port.cc +++ b/libs/midi++2/port.cc @@ -113,10 +113,10 @@ Port::~Port () } if (_jack_port) { - if (_jack_client && _jack_port) { + if (_jack_client) { jack_port_unregister (_jack_client, _jack_port); + _jack_port = 0; } - _jack_port = 0; } } |