matcha
matcha copied to clipboard
BUG: Ticker never stopped in daemon sync loop
Describe the bug Ticker created at daemon/daemon.go:304 with time.NewTicker(5 * time.Minute) never stopped. Causes goroutine and resource leak.
To reproduce
- Start daemon
- Ticker runs forever
- Resources never released
Expected behavior Use defer ticker.Stop() or proper cleanup on shutdown
Matcha version master
OS All
Additional context File: daemon/daemon.go line 304 Ticker leak without Stop()
This has had no activity for 30 days. It will be closed in 14 days unless updated. Comment or remove the stale label to keep it open.
Closing due to inactivity. Reopen if still relevant.