fire send in a go routine to prevent blocking other requests
This commit is contained in:
parent
1d00f2f771
commit
6a9f5fac61
@ -433,7 +433,7 @@ func (t *tun) process() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// send the message
|
// send the message
|
||||||
t.sendTo(sendTo, msg)
|
go t.sendTo(sendTo, msg)
|
||||||
case <-t.closed:
|
case <-t.closed:
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user