always remove device props on switch, fixes device failover
This commit is contained in:
parent
b01792c3d2
commit
4cbce9c840
@ -297,6 +297,7 @@ class OpenWebRxReceiverClient(OpenWebRxClient, SdrSourceEventClient):
|
||||
return
|
||||
|
||||
self.stopDsp()
|
||||
self.stack.removeLayerByPriority(0)
|
||||
|
||||
if self.sdr is not None:
|
||||
self.sdr.removeClient(self)
|
||||
@ -318,7 +319,6 @@ class OpenWebRxReceiverClient(OpenWebRxClient, SdrSourceEventClient):
|
||||
self.sdr.addSpectrumClient(self)
|
||||
|
||||
def handleNoSdrsAvailable(self):
|
||||
self.stack.removeLayerByPriority(0)
|
||||
self.write_sdr_error("No SDR Devices available")
|
||||
|
||||
def startDsp(self):
|
||||
|
Loading…
Reference in New Issue
Block a user