internal/app/app.go 🔗
@@ -607,7 +607,7 @@ func (app *App) Shutdown() {
var wg sync.WaitGroup
// Shared shutdown context for all timeout-bounded cleanup.
- shutdownCtx, cancel := context.WithTimeout(context.WithoutCancel(app.globalCtx), 5*time.Second)
+ shutdownCtx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
defer cancel()
// Send exit event