mirror of
https://github.com/ha7ilm/openwebrx.git
synced 2026-04-04 14:07:32 +00:00
fix errors on shutdown (duplicate calls)
This commit is contained in:
parent
ee3d934529
commit
3bb4f48faf
1 changed files with 4 additions and 0 deletions
|
|
@ -84,7 +84,11 @@ class SpectrumThread(SdrSourceEventClient):
|
|||
self.dsp.setReader(self.sdrSource.getBuffer().getReader())
|
||||
|
||||
def onFail(self):
|
||||
if self.dsp is None:
|
||||
return
|
||||
self.dsp.stop()
|
||||
|
||||
def onShutdown(self):
|
||||
if self.dsp is None:
|
||||
return
|
||||
self.dsp.stop()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue