diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-01 22:42:18 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-01 22:42:18 +0300 |
| commit | 36bf8b9f1f1adf99aebd5dea37ff8cf6f3e847cd (patch) | |
| tree | 3a7e363ee6f57dc4c54adc6651e487938025e824 /web/css/player.css | |
| parent | 6b33ed2dc614c51627d20c83df5310d776983555 (diff) | |
fix(gc): pass cancellable context to GCWorker.run() to avoid goroutine leak (#5)
Replace context.Background() inside GCWorker.run() with a cancellable
context created in Start() and cancelled in Stop().
This fixes the goroutine leak risk identified in 100-go-mistakes #62.
Files changed:
- internal/service/gc.go
Diffstat (limited to 'web/css/player.css')
0 files changed, 0 insertions, 0 deletions
