mirror of
https://github.com/tailscale/tailscale.git
synced 2025-02-22 04:48:39 +00:00
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
This commit is contained in:
parent
18017f7630
commit
f4c7eb8c44
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user