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