evt stop code
This commit is contained in:
parent
baa96a3158
commit
56b7907631
2
agent.go
2
agent.go
|
@ -134,6 +134,8 @@ func (agt *Agent) stopAgent() {
|
||||||
//evt result
|
//evt result
|
||||||
evt.AddEventData(msg.TaskResult{msg.AGT_STOP, true, nil })
|
evt.AddEventData(msg.TaskResult{msg.AGT_STOP, true, nil })
|
||||||
//evt stop()
|
//evt stop()
|
||||||
|
evt.Stop()
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (agt *Agent) processStartSensor(task msg.AgentTask) {
|
func (agt *Agent) processStartSensor(task msg.AgentTask) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user