Skip to content

Commit

Permalink
Nicer quitting
Browse files Browse the repository at this point in the history
  • Loading branch information
wlerin committed Jan 13, 2017
1 parent 88b9c13 commit a3177b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions showroom.py
Original file line number Diff line number Diff line change
Expand Up @@ -467,10 +467,10 @@ def quit(self):
while self:
done = []
for d in self.queue:
if d.quit():
if d[2].quit():
done.append(d)
for d in done:
self.queue.remove(d[2])
super().remove(d[2])
self.rebuild()


Expand Down

0 comments on commit a3177b5

Please sign in to comment.