fix: adding back agent cleanup

This commit is contained in:
d34dscene
2025-02-13 11:01:58 +01:00
parent 4b24a52c49
commit 7f7adb49ec
12 changed files with 324 additions and 218 deletions

View File

@@ -56,10 +56,7 @@ func (s *Server) Start(ctx context.Context) error {
// Start server in a goroutine
go func() {
slog.Info("Server starting",
"host", host,
"port", port,
)
slog.Info("Server starting", "host", host, "port", port)
if err := server.ListenAndServe(); err != nil && err != http.ErrServerClosed {
serverErr <- err
}