You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In handlers.NewApp() there is a call to startUploadPurger, which creates a background goroutine to call storage.PurgeUploads. The goroutine runs forever and there's no way to interrupt it, so it leaks when you call (app *App) Shutdown().
Seems like the shutdown should also stop and background threads that the app starts.
Reproduce
Observed in internal unit tests.
app:= handlers.NewApp(...)
app.Shutdown()
/// purge upload still running
Activity
ranjanprasad96 commentedon Aug 27, 2026
+1, Seeing same behaviour. This causes leak in memory usage
ranjanprasad96 commentedon Aug 27, 2026
@stevvooe Could you please check this problem? This seems to affect us in production