mirror of
https://github.com/slackhq/nebula.git
synced 2026-02-16 01:34:22 +01:00
Use registered io on Windows when possible (#905)
This commit is contained in:
@@ -140,3 +140,9 @@ func (u *TesterConn) LocalAddr() (*Addr, error) {
|
||||
func (u *TesterConn) Rebind() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (u *TesterConn) Close() error {
|
||||
close(u.RxPackets)
|
||||
close(u.TxPackets)
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user