implement device shutdown on deletion or lack of profiles

This commit is contained in:
Jakob Ketterl
2021-03-18 22:59:46 +01:00
parent f1619b81fe
commit c50473fea5
7 changed files with 39 additions and 12 deletions

View File

@ -214,3 +214,6 @@ class DspManager(csdr.output, SdrSourceEventClient):
def onFail(self):
logger.debug("received onFail(), shutting down DspSource")
self.dsp.stop()
def onShutdown(self):
self.dsp.stop()