mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-26 03:26:26 -08:00
wgengine/netlog: fix send to closed channel in test
Fixes #17922 Change-Id: I2cd600b0ecda389079f2004985ac9a25ffbbfdd1 Signed-off-by: Brad Fitzpatrick <[email protected]>
This commit is contained in:
1 parent
8aa46a3956
commit
4e01e8a66e
1 file changed
+1
@@ -182,6 +182,7 @@ func TestUpdateRace(t *testing.T) {
|
||||
group.Wait()
|
||||
logger.mu.Lock()
|
||||
close(logger.recordsChan)
|
||||
logger.recordsChan = nil
|
||||
logger.mu.Unlock()
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user