initial commit
This commit is contained in:
parent
39119e193b
commit
8bc345892e
|
@ -47,7 +47,10 @@ func (m *MouseMover) Start() {
|
||||||
}
|
}
|
||||||
|
|
||||||
heartbeatCh := activityTracker.Start()
|
heartbeatCh := activityTracker.Start()
|
||||||
|
run(heartbeatCh, m)
|
||||||
|
}
|
||||||
|
|
||||||
|
func run(heartbeatCh chan *tracker.Heartbeat, m *MouseMover) {
|
||||||
go func(m *MouseMover) {
|
go func(m *MouseMover) {
|
||||||
logger := getLogger(m, false) //set writeToFile=true only for debugging
|
logger := getLogger(m, false) //set writeToFile=true only for debugging
|
||||||
m.updateRunningStatus(true)
|
m.updateRunningStatus(true)
|
||||||
|
|
Loading…
Reference in New Issue