initial commit

This commit is contained in:
Prashant Gupta 2019-04-23 17:41:01 -07:00
parent 39119e193b
commit 8bc345892e
1 changed files with 3 additions and 0 deletions

View File

@ -47,7 +47,10 @@ func (m *MouseMover) Start() {
}
heartbeatCh := activityTracker.Start()
run(heartbeatCh, m)
}
func run(heartbeatCh chan *tracker.Heartbeat, m *MouseMover) {
go func(m *MouseMover) {
logger := getLogger(m, false) //set writeToFile=true only for debugging
m.updateRunningStatus(true)