diff options
Diffstat (limited to 'src/queue/PlaylistEdit.cxx')
-rw-r--r-- | src/queue/PlaylistEdit.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/queue/PlaylistEdit.cxx b/src/queue/PlaylistEdit.cxx index 0d15f6a04..fe09bf1e4 100644 --- a/src/queue/PlaylistEdit.cxx +++ b/src/queue/PlaylistEdit.cxx @@ -252,7 +252,7 @@ playlist::DeleteInternal(PlayerControl &pc, else { /* stop the player */ - pc.Stop(); + pc.LockStop(); playing = false; } @@ -457,7 +457,7 @@ playlist::SetSongIdRange(PlayerControl &pc, unsigned id, /* if we're manipulating the "queued" song, the decoder thread may be decoding it already; cancel that */ - pc.Cancel(); + pc.LockCancel(); queued = -1; } } |