mirror of
https://github.com/tailscale/tailscale.git
synced 2025-04-16 03:31: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
|
state := b.state
|
||||||
prefs := b.prefs
|
prefs := b.prefs
|
||||||
notify := b.notify
|
notify := b.notify
|
||||||
c := b.c
|
|
||||||
b.mu.Unlock()
|
b.mu.Unlock()
|
||||||
|
|
||||||
if state == newState {
|
if state == newState {
|
||||||
@ -720,9 +719,6 @@ func (b *LocalBackend) enterState(newState State) {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
b.logf("Reconfig(down): %v", err)
|
b.logf("Reconfig(down): %v", err)
|
||||||
}
|
}
|
||||||
if c != nil {
|
|
||||||
c.Shutdown()
|
|
||||||
}
|
|
||||||
case Starting, NeedsMachineAuth:
|
case Starting, NeedsMachineAuth:
|
||||||
b.authReconfig()
|
b.authReconfig()
|
||||||
// Needed so that UpdateEndpoints can run
|
// Needed so that UpdateEndpoints can run
|
||||||
|
Loading…
x
Reference in New Issue
Block a user