Shorthand for empty channels
This commit is contained in:
parent
b76ab82539
commit
25df2e6942
3 changed files with 3 additions and 3 deletions
|
|
@ -293,7 +293,7 @@ func NewDevice(tun TUNDevice, logger *Logger) *Device {
|
|||
|
||||
// prepare signals
|
||||
|
||||
device.signals.stop = make(chan struct{}, 0)
|
||||
device.signals.stop = make(chan struct{})
|
||||
|
||||
// prepare net
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue