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
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
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
}