diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-05-14 02:14:33 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-05-14 02:14:33 +0200 |
commit | 659106bd6d7a6f40310e5704812c6c9fbb96f06c (patch) | |
tree | bd3021b67bde6c562576654144ab1a8db7217bc2 /device.go | |
parent | 29b0453cf15913b321ea423b7f81fdee55eb4409 (diff) |
Ensure go routines can exit
Diffstat (limited to 'device.go')
-rw-r--r-- | device.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -293,7 +293,7 @@ func NewDevice(tun TUNDevice, logger *Logger) *Device { // prepare signals - device.signals.stop = make(chan struct{}, 1) + device.signals.stop = make(chan struct{}, 0) // prepare net |