mirror of https://github.com/jetkvm/kvm.git
Add comment to clarify the need to stop the tickers
This commit is contained in:
parent
41f9d6102f
commit
06c721fef6
|
@ -339,6 +339,7 @@ func startBacklightTickers() {
|
|||
return
|
||||
}
|
||||
|
||||
// Stop existing tickers to prevent multiple active instances on repeated calls
|
||||
if dimTicker != nil {
|
||||
dimTicker.Stop()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue