mirror of
https://github.com/jketterl/openwebrx.git
synced 2026-04-05 06:26:50 +00:00
always remove device props on switch, fixes device failover
This commit is contained in:
parent
b01792c3d2
commit
4cbce9c840
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue