matcha icon indicating copy to clipboard operation
matcha copied to clipboard

BUG: Ticker never stopped in daemon sync loop

Open andrinoff opened this issue 7 months ago • 2 comments

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

  1. Start daemon
  2. Ticker runs forever
  3. 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()

andrinoff avatar Apr 21 '26 14:04 andrinoff

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.

floatpanebot avatar May 22 '26 06:05 floatpanebot

Closing due to inactivity. Reopen if still relevant.

floatpanebot avatar Jun 04 '26 19:06 floatpanebot