Skip to content

Commit 6a2ddbd

Browse files
Close the fifo cleanly
1 parent 9e40781 commit 6a2ddbd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

amplipi/streams/spotify_connect.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,7 @@ def _deactivate(self):
160160
self.volume_process.communicate()
161161
self.volume_process = None
162162

163-
if self._fifo is not None:
164-
self._fifo.close()
165-
self._fifo = None
163+
self._fifo = None
166164

167165
if self.proc and self._log_file: # prevent checking _log_file when it may not exist, thanks validation!
168166
self._log_file.close()

0 commit comments

Comments
 (0)