matcha
matcha copied to clipboard
BUG: Context not propagated in daemon refresh goroutine
Describe the bug Refresh handler at daemon/handler.go:156 spawns goroutine without context. If client disconnects, goroutine runs forever.
To reproduce
- Start folder refresh
- Kill client immediately
- Goroutine continues fetching, never cleaned up
Expected behavior Pass context to goroutine, cancel on client disconnect
Matcha version master
OS All
Additional context File: daemon/handler.go line 156 Resource leak on client disconnect
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.