• Max Kellermann's avatar
    player_thread: reset pc.next_song only if queued · 799d1c9d
    Max Kellermann authored
    When we reset pc.next_song if there is no song queued, this might
    cause a race condition: the next song to be played is cleared, while
    pc.command was already set.  Clear the "next_song" only if there is a
    song queued for the current do_play() invocation.
    799d1c9d
Name
Last commit
Last update
doc Loading commit data...
m4 Loading commit data...
scripts Loading commit data...
src Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
TODO Loading commit data...
UPGRADING Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
valgrind.suppressions Loading commit data...