Skip to content

Commit

Permalink
ui/player: Remove unused status context
Browse files Browse the repository at this point in the history
  • Loading branch information
darkhz committed Mar 8, 2024
1 parent ecfa330 commit 0b2a2e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/player/player.go
Original file line number Diff line number Diff line change
Expand Up @@ -780,12 +780,12 @@ func playingStatusCheck() {
}

Context(false)
go playerUpdateLoop(player.ctx, player.cancel)
go playerUpdateLoop(player.ctx)
}
}

// playerUpdateLoop updates the player.
func playerUpdateLoop(ctx context.Context, cancel context.CancelFunc) {
func playerUpdateLoop(ctx context.Context) {
evCtx, evCancel := context.WithCancel(context.Background())
go func(c context.Context) {
for {
Expand Down

0 comments on commit 0b2a2e4

Please sign in to comment.