diff --git a/agent/agent.go b/agent/agent.go index 7fc1b5f9..03b205e0 100644 --- a/agent/agent.go +++ b/agent/agent.go @@ -264,8 +264,6 @@ func (a *Agent) Handle() { select { case <-a.chDie: // agent closed signal return - case <-a.appDieChan: // application quit - return } } diff --git a/service/handler.go b/service/handler.go index 888f8238..b9d7079e 100644 --- a/service/handler.go +++ b/service/handler.go @@ -132,9 +132,6 @@ func (h *HandlerService) Dispatch(thread int) { case id := <-timer.Manager.ChClosingTimer: // closing Timers timer.RemoveTimer(id) - - case <-h.appDieChan: // application quit signal - return } } }