use the right method

This commit is contained in:
Jakob Ketterl 2021-03-18 22:24:53 +01:00
parent 364c7eb505
commit f1619b81fe

View File

@ -40,7 +40,7 @@ class MappedSdrSources(PropertyDelegator):
def _removeSource(self, key):
if key in self:
self[key].shutdown()
self[key].stop()
for sub in self.subscriptions[key]:
sub.cancel()
del self.subscriptions[key]