cmd/tailscale: avoid deadlocking between backend calls and callbacks
The runBackend goroutine issues backend requests (StartLoginInteractive, Logout, SetPrefs) from the same select that receives callbacks the backend. Avoid the potential for same-goroutine deadlock by issuing backend requests on separate goroutines. Fixes tailscale/tailscale#470 Signed-off-by: Elias Naur <mail@eliasnaur.com>pull/2/head
parent
dd2cdacbed
commit
0d0a049057
Loading…
Reference in New Issue