~vesto/grooveboat

98ab620cf03abb65b1babf507d50fc8c8536295d — Steve Gattuso 5 years ago 4e2c705
fix stop track not working properly
1 files changed, 1 insertions(+), 3 deletions(-)

M src/js/services/jukebox.js
M src/js/services/jukebox.js => src/js/services/jukebox.js +1 -3
@@ 286,9 286,7 @@ function* trackEnded() {
  yield call(send, {name: 'trackEnded'});
}

function* stopTrack() {
  yield cancel(player.endTask);
  yield cancel(player.syncTask);
function stopTrack() {
  player.stop();
}