# error: runtime: goroutine leak detected: time.Tick never stopped

- **ID:** `go/goroutine-leak-time-tick`
- **Domain:** go
- **Category:** resource_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

time.Tick returns a channel that is never garbage collected; each call leaks a goroutine for the process lifetime.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 1.18 | active | — | — |
| 1.21 | active | — | — |
| 1.22 | active | — | — |

## Workarounds

1. **** (95% success)
   ```
   t := time.NewTicker(time.Second)
defer t.Stop()
for range t.C { /* ... */ }
   ```
2. **** (90% success)
   ```
   timer := time.AfterFunc(time.Second, func() { /* ... */ })
defer timer.Stop()
   ```

## Dead Ends

- **** — Each new ticker adds a goroutine; long-running services leak unboundedly. (90% fail)
- **** — time.Tick's underlying ticker is intentionally retained by the runtime. (95% fail)
