mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 21:38:38 +00:00
fx
This commit is contained in:
@@ -131,7 +131,8 @@ class SRBuffer(voice_recv.AudioSink):
|
||||
def cleanup(self) -> None:
|
||||
try:
|
||||
logger.info("Cleanup for SRBuffer")
|
||||
self._file.close()
|
||||
for _, item in self.wavewriter:
|
||||
item.cleanup()
|
||||
except Exception:
|
||||
logger.warning("WaveSink got error closing file on cleanup", exc_info=True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user