ipn: revert part of 18017f7630

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
This commit is contained in:
Brad Fitzpatrick 2020-04-28 14:04:45 -07:00
parent 18017f7630
commit f4c7eb8c44
1 changed files with 0 additions and 4 deletions

View File

@ -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