Remove commented out go func() {}.
This commit is contained in:
parent
e2555d82e3
commit
40d2993b03
@ -75,7 +75,6 @@ func (dj *DJHandlers) PlaylistNext(w http.ResponseWriter, _ *http.Request) {
|
||||
}
|
||||
}
|
||||
|
||||
// go func() {
|
||||
oggf, err := oggtag.NewOggFile(nxt)
|
||||
if err != nil {
|
||||
log.Println("cannot read an OGG file", nxt, ":", err)
|
||||
@ -119,7 +118,6 @@ func (dj *DJHandlers) PlaylistNext(w http.ResponseWriter, _ *http.Request) {
|
||||
*dj.curSong = newSong
|
||||
dj.curSong.Listeners = 0
|
||||
dj.curSong.PeakListeners = 0
|
||||
// }()
|
||||
|
||||
fmt.Fprintln(w, nxt)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user