clean up after use

This commit is contained in:
Jakob Ketterl 2019-07-12 19:34:04 +02:00
parent c19337d65c
commit efc5b936f8

View File

@ -105,6 +105,10 @@ class Ft8Chopper(threading.Thread):
self.outputReader.close() self.outputReader.close()
self.outputWriter.close() self.outputWriter.close()
self.emptyScheduler() self.emptyScheduler()
try:
os.unlink(self.wavefilename)
except Exception:
logger.exception("error removing undecoded file")
def read(self): def read(self):
try: try: