diff --git a/v3/pkg/application/application.go b/v3/pkg/application/application.go index 688eee8c343..121765f1626 100644 --- a/v3/pkg/application/application.go +++ b/v3/pkg/application/application.go @@ -155,7 +155,7 @@ func New(appOptions Options) *App { } } // Shutdown the application - os.Exit(1) + runtime.Goexit() } } }