mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2026-10-30 07:36:38 +00:00
fix: always unsubscribe on sources
This commit is contained in:
1 parent
1a0a1fb884
commit
da53052a6f
1 file changed
+1
-2
@@ -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