Re: Re: [PATCH] tun: darwin: fix panic: close of closed channel

2019-08-25 Thread 刘海潮
I used the previous version, so this bug was triggered. But why should we close tun.events in two places. > 在 2019年8月25日,23:22,Jason A. Donenfeld 写道: > > I was under the impression this was fixed with > https://git.zx2c4.com/wireguard-go/commit/?id=6d78f895579b114c93bd493ad8d61316fc5dd15a > >

Re: [PATCH] tun: darwin: fix panic: close of closed channel

2019-08-25 Thread Jason A. Donenfeld
I was under the impression this was fixed with https://git.zx2c4.com/wireguard-go/commit/?id=6d78f895579b114c93bd493ad8d61316fc5dd15a What precisely is the bug you're seeing? ___ WireGuard mailing list WireGuard@lists.zx2c4.com https://lists.zx2c4.com/ma

[PATCH] tun: darwin: fix panic: close of closed channel

2019-08-25 Thread liuhaichao
From: liuhaichao Change-Id: Idd77fef05316f817e03a0f905ac5e6d53a6865f7 --- tun/tun_darwin.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/tun/tun_darwin.go b/tun/tun_darwin.go index 0815495..07abc6b 100644 --- a/tun/tun_darwin.go +++ b/tun/tun_darwin.go @@ -296,8 +296,6 @@ func (tun *Nati