LCXL: Fix check if ports exist

This commit is contained in:
Térence Clastres
2018-08-30 22:36:59 +02:00
committed by Robin Gareus
parent 9f30d14906
commit 2a78f0a852

View File

@@ -706,7 +706,7 @@ LaunchControlXL::set_state (const XMLNode & node, int version)
void
LaunchControlXL::port_registration_handler ()
{
if (!_async_in && !_async_out) {
if (!_async_in || !_async_out) {
/* ports not registered yet */
return;
}