~nikwen/account-polld/trim-message

« back to all changes in this revision

Viewing changes to cmd/account-polld/main.go

  • Committer: Niklas Wenzel
  • Date: 2015-10-30 13:54:14 UTC
  • mto: This revision was merged to the branch mainline in revision 145.
  • Revision ID: nikwen.developer@gmail.com-20151030135414-how9csp1si4isdgx
Revert removing a go routine

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
}
64
64
 
65
65
func startMainLoop() {
66
 
        mainLoopOnce.Do(qtcontact.MainLoopStart)
 
66
        mainLoopOnce.Do(func() {
 
67
                go qtcontact.MainLoopStart()
 
68
        })
67
69
}
68
70
 
69
71
func main() {