Daniel Nephin 4e42b8f1d4 agent: remove ServiceManager goroutine
The ServiceManager.Start goroutine was used to serialize calls to
agent.addServiceInternal.

All the goroutines which sent events to the channel would block waiting
for a response from that same goroutine, which is effectively the same
as a synchronous call without any channels.

This commit removes the goroutine and channels, and instead calls
addServiceInternal directly. Since all of these goroutines will need to
take the agent.stateLock, the mutex handles the serializing of calls.
2021-01-25 18:01:47 -05:00
..
2020-12-07 13:42:55 -05:00
2021-01-07 18:47:38 -05:00
2021-01-07 18:47:38 -05:00
2020-11-17 18:16:26 -05:00
2020-11-16 11:02:11 -08:00