Skip to content

Commit

Permalink
Add comment to finish about lingering processing threads
Browse files Browse the repository at this point in the history
  • Loading branch information
joetoddsonos committed Mar 30, 2024
1 parent cc12ef9 commit 2cb68a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyflac/decoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ def finish(self):
Flushes the decoding buffer, releases resources, resets the decoder
settings to their defaults, and returns the decoder state to `DecoderState.UNINITIALIZED`.
A well behaved program should always call this at the end.
A well behaved program should always call this at the end, otherwise the processing
thread will be left running, awaiting more data.
"""
_lib.FLAC__stream_decoder_finish(self._decoder)

Expand Down

0 comments on commit 2cb68a8

Please sign in to comment.