mirror of
https://github.com/issadarkthing/gomu.git
synced 2025-04-26 13:49:21 +08:00
fix bug: cannot play next song
This commit is contained in:
parent
0476c1d070
commit
1520b685b3
@ -127,7 +127,7 @@ func (p *Player) Run(currSong Audio) error {
|
||||
p.isRunning = false
|
||||
p.format = nil
|
||||
p.streamSeekCloser.Close()
|
||||
p.execSongFinish(currSong)
|
||||
go p.execSongFinish(currSong)
|
||||
}))
|
||||
|
||||
ctrl := &beep.Ctrl{
|
||||
|
Loading…
x
Reference in New Issue
Block a user