Fixed buddies list handling at buddy termination time. Fixes #359

This commit is contained in:
f4exb 2019-06-04 07:08:59 +02:00
parent dd2e470b8e
commit e061a45e62
1 changed files with 1 additions and 1 deletions

View File

@ -725,7 +725,7 @@ void DeviceAPI::removeSinkBuddy(DeviceAPI* buddy)
qPrintable(buddy->getSamplingDeviceSerial()),
(quint64) (*it),
(quint64) this);
m_sourceBuddies.erase(it);
m_sinkBuddies.erase(it);
return;
}
}