clear out shuffledEntry if shuffle off

This commit is contained in:
jeffvli
2021-09-01 20:03:38 -07:00
parent ae5859a4c9
commit 649888640f

View File

@@ -213,6 +213,9 @@ const playQueueSlice = createSlice({
state.repeat,
state.currentIndex
);
// Free up memory by clearing out the shuffled entries
state.shuffledEntry = [];
}
},