mirror of
https://github.com/jpochyla/psst.git
synced 2026-04-27 15:35:56 +03:00
[PR #387] [MERGED] Fixing index out of bounds error #509
Labels
No labels
api
bug
build
documentation
duplicate
enhancement
good first issue
help wanted
idea
invalid
linux
lowprio
macos
pull-request
upstream
windows
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/psst#509
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jpochyla/psst/pull/387
Author: @arch-btw
Created: 4/13/2023
Status: ✅ Merged
Merged: 4/14/2023
Merged by: @Insprill
Base:
master← Head:patch-2📝 Commits (1)
a602180Fixing index out of bounds error📊 Changes
1 file changed (+17 additions, -11 deletions)
View changed files
📝
psst-gui/src/controller/playback.rs(+17 -11)📄 Description
Hey 👍
Fixed an "index out of bounds" error in the play function of playback.rs by checking that the provided position value is within bounds before sending the LoadQueue command to the player. This was the error that I kept getting, causing the app to become non-responsive until restarting it:
I tried modifying some things in queue.rs first but that was the wrong approach.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.