diff --git a/internal/app/app.go b/internal/app/app.go index 890b1ce7765728f78adba8c47a4bbbe87c29131c..987d0ec06022a45c6c472046db652d1d27241cc3 100644 --- a/internal/app/app.go +++ b/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