diff --git a/ipn/ipnlocal/local.go b/ipn/ipnlocal/local.go index 111cc0dab..074b813fa 100644 --- a/ipn/ipnlocal/local.go +++ b/ipn/ipnlocal/local.go @@ -3013,7 +3013,7 @@ func (b *LocalBackend) setPrefsLockedOnEntry(caller string, newp *ipn.Prefs) ipn } } if oldp.ShouldWebClientBeRunning() && !newp.ShouldWebClientBeRunning() { - b.WebClientShutdown() + go b.WebClientShutdown() } if netMap != nil { newProfile := netMap.UserProfiles[netMap.User()]