ipn/ipnlocal: revert some locking changes ahead of release branch cut (#17011)
This commit is contained in:
@@ -4299,7 +4299,7 @@ func (b *LocalBackend) SetPrefsForTest(newp *ipn.Prefs) {
|
||||
}
|
||||
unlock := b.lockAndGetUnlock()
|
||||
defer unlock()
|
||||
b.setPrefsLocked(newp)
|
||||
b.setPrefsLockedOnEntry(newp, unlock)
|
||||
}
|
||||
|
||||
type peerOptFunc func(*tailcfg.Node)
|
||||
|
||||
Reference in New Issue
Block a user