Skip to content

Commit

Permalink
remove close(done). it done in the stop function
Browse files Browse the repository at this point in the history
Signed-off-by: Nahshon Unna-Tsameret <nahsh.ut@gmail.com>
  • Loading branch information
nunnatsa committed Mar 20, 2021
1 parent 66b6d76 commit 84afcb4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ func (c *Controller) do() {

select {
case <-signals:
close(c.done)
return

case je := <-c.joystickEvents:
Expand Down

0 comments on commit 84afcb4

Please sign in to comment.