From 56b7907631fc88a6b0657dca6d21a22051058c57 Mon Sep 17 00:00:00 2001 From: geek Date: Tue, 16 May 2017 13:07:28 +0900 Subject: [PATCH] evt stop code --- agent.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/agent.go b/agent.go index 038c934..efd79e9 100644 --- a/agent.go +++ b/agent.go @@ -134,6 +134,8 @@ func (agt *Agent) stopAgent() { //evt result evt.AddEventData(msg.TaskResult{msg.AGT_STOP, true, nil }) //evt stop() + evt.Stop() + } func (agt *Agent) processStartSensor(task msg.AgentTask) {