explicitly unset chain since automatic garbage collection is broken

This commit is contained in:
Jakob Ketterl 2021-01-04 00:24:06 +01:00
parent 2783091cea
commit f4629804ff

View File

@ -914,6 +914,7 @@ class dsp(object):
self.running = False self.running = False
if self.pycsdr_enabled and self.pycsdr_chain is not None: if self.pycsdr_enabled and self.pycsdr_chain is not None:
self.pycsdr_chain.stop() self.pycsdr_chain.stop()
self.pycsdr_chain = None
if self.process is not None: if self.process is not None:
try: try:
os.killpg(os.getpgid(self.process.pid), signal.SIGTERM) os.killpg(os.getpgid(self.process.pid), signal.SIGTERM)