ponzu-cms / ponzu

Headless CMS with automatic JSON API. Featuring auto-HTTPS from Let's Encrypt, HTTP/2 Server Push, and flexible server framework written in Go.
https://docs.ponzu-cms.org
BSD 3-Clause "New" or "Revised" License
5.67k stars 387 forks source link

Potential goroutine leak in achive.go #360

Open hhheiaenia opened 1 year ago

hhheiaenia commented 1 year ago

I was wondering if goroutine leak could happen when ctx.Done() not receive the cancelFunc() signal in https://github.com/ponzu-cms/ponzu/blob/master/system/backup/archive.go.