summaryrefslogtreecommitdiff
path: root/service/reload/service.go
diff options
context:
space:
mode:
Diffstat (limited to 'service/reload/service.go')
-rw-r--r--service/reload/service.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/service/reload/service.go b/service/reload/service.go
index 7bfb0f28..f267375a 100644
--- a/service/reload/service.go
+++ b/service/reload/service.go
@@ -6,7 +6,6 @@ import (
"github.com/spiral/roadrunner"
"github.com/spiral/roadrunner/service"
"os"
- "runtime"
"strings"
"time"
)
@@ -146,7 +145,7 @@ func (s *Service) Serve() error {
}
case <-s.stopc:
ticker.Stop()
- runtime.Goexit()
+ return
}
}
}()