From f4c7eb8c44d8ca291fee1ef2ec474b579486844a Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Tue, 28 Apr 2020 14:04:45 -0700 Subject: [PATCH] ipn: revert part of 18017f7630ee9ac In retrospect I don't trust it and I'm afraid might've caused some Mac flakiness. I'd like more tests here before I work on this. Updates #288 --- ipn/local.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ipn/local.go b/ipn/local.go index efea3bc55..3de2b87c7 100644 --- a/ipn/local.go +++ b/ipn/local.go @@ -698,7 +698,6 @@ func (b *LocalBackend) enterState(newState State) { state := b.state prefs := b.prefs notify := b.notify - c := b.c b.mu.Unlock() if state == newState { @@ -720,9 +719,6 @@ func (b *LocalBackend) enterState(newState State) { if err != nil { b.logf("Reconfig(down): %v", err) } - if c != nil { - c.Shutdown() - } case Starting, NeedsMachineAuth: b.authReconfig() // Needed so that UpdateEndpoints can run