Skip to content

Commit

Permalink
stream.flv_playlist: Fix deadlock on close.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrippa committed Mar 18, 2014
1 parent 5f6a3d3 commit 7f8e439
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/livestreamer/stream/flvconcat.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,9 @@ def run(self):
try:
for chunk in self.concater.iter_chunks(fd):
self.stream.buffer.write(chunk)

if not self.running:
return
except IOError as err:
self.error = err
break
Expand Down

0 comments on commit 7f8e439

Please sign in to comment.