]> git.ipfire.org Git - thirdparty/wireguard-go.git/commit
Fix race with closing event channel
authorJason A. Donenfeld <Jason@zx2c4.com>
Sun, 20 May 2018 04:38:39 +0000 (06:38 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Sun, 20 May 2018 04:38:39 +0000 (06:38 +0200)
commit18f43705ecbc8751bcf5ed05cd65cf93c36798b0
tree2d19a90e474449a177e392caeb77388d4f76dbde
parent058cedcf664e3bb553e699a09beda4dc5c1474fa
Fix race with closing event channel

There's still a tiny race on Linux, since the tun channel is written to
from two places.
tun_darwin.go
tun_linux.go