mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2026-02-05 07:49:48 +00:00
fix: always unsubscribe on sources
This commit is contained in:
@@ -99,11 +99,10 @@ void AWDataEngineAggregator::dropSource(const QString &_source)
|
||||
{
|
||||
qCDebug(LOG_AW) << "Disconnect sensor" << _source;
|
||||
|
||||
if (m_subscribed.contains(_source)) {
|
||||
m_interface->unsubscribe({_source}).waitForFinished();
|
||||
m_interface->unsubscribe({_source}).waitForFinished();
|
||||
m_subscribed.remove(_source);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void AWDataEngineAggregator::sensorAdded(const QString &_sensor)
|
||||
|
||||
Reference in New Issue
Block a user