Start TMSPClient automatically

This commit is contained in:
Jae Kwon 2016-01-22 17:56:56 -08:00
parent 53a8a40785
commit e2426d2944
1 changed files with 1 additions and 0 deletions

View File

@ -48,6 +48,7 @@ func NewTMSPClient(conn net.Conn, bufferSize int) *TMSPClient {
resCb: nil,
}
cli.QuitService = *NewQuitService(nil, "TMSPClient", cli)
cli.Start() // Just start it, it's confusing for callers to remember to start.
return cli
}