check closed condition after aquiring the lock to avoid deadlocks

This commit is contained in:
Jakob Ketterl
2022-01-05 17:55:46 +01:00
parent 2ce7d943fa
commit f3dcf5c320
2 changed files with 16 additions and 19 deletions

View File

@ -513,8 +513,6 @@ class DspManager(SdrSourceEventClient, ClientDemodulatorSecondaryDspEventClient)
self.sdrSource.addClient(self)
super().__init__()
def setSecondaryFftSize(self, size):
self.chain.setSecondaryFftSize(size)
self.handler.write_secondary_dsp_config({"secondary_fft_size": size})