From 067437474955aa5341aea0a93de5282fb3347d6e Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 1 Sep 2024 22:02:14 +0530 Subject: [PATCH] ... --- src/calibre/gui2/tts2/piper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/tts2/piper.py b/src/calibre/gui2/tts2/piper.py index 0e24fb996c..bb76c3a0db 100644 --- a/src/calibre/gui2/tts2/piper.py +++ b/src/calibre/gui2/tts2/piper.py @@ -249,7 +249,7 @@ class Piper(TTSBackend): self._audio_sink.stop() sip.delete(self._audio_sink) sip.delete(self._process) - self._process = None + self._process = self._audio_sink = None def reload_after_configure(self) -> None: self.shutdown()