Reconfigure functions now ran by actors

This commit is contained in:
Neil Alexander
2019-08-28 12:46:12 +01:00
parent 607c906820
commit e553f3e013
4 changed files with 36 additions and 30 deletions

View File

@@ -82,7 +82,7 @@ func (l *link) init(c *Core) error {
func (l *link) reconfigure(e chan error) {
defer close(e)
tcpResponse := make(chan error)
go l.tcp.reconfigure(tcpResponse)
l.tcp.reconfigure(tcpResponse)
for err := range tcpResponse {
e <- err
}