Skip to content

Commit

Permalink
do not delete timer once created
Browse files Browse the repository at this point in the history
  • Loading branch information
Perez Domingo, Victor committed Dec 14, 2020
1 parent 9d3fe42 commit b05648e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/chkb/captor.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,6 @@ func (c *Captor) idle(keyCode KeyCode, send func([]KeyEvent) error) func() {
defer c.m.Unlock()

event := c.idleTimers[keyCode]
delete(c.idleTimers, keyCode)
c.deliverEvent(event, send)
}
}
Expand Down

0 comments on commit b05648e

Please sign in to comment.