ipn: revert part of
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
@@ -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
