Mihai Parparita 2244cebf73 ipn/ipnlocal: fix controlclient reentrancy when deleting profile during logout
Deletion of profiles on logout (#6297) added a LocalBackend.Start()
call within setClientStatus(), but that's a callback from the
controlclient. Start() ends calling back into the controlclient (to
shut it down), and we end up stuck in a deadlock waiting for the
authDone channel to be closed.

Fixed by making the Start call asynchronous. To reproduce this in a test
case, we need to do an asynchronous logout, so add a CLI option for
that.

Signed-off-by: Mihai Parparita <mihai@tailscale.com>
2022-11-14 17:57:49 -08:00
..
2022-11-04 07:25:42 -07:00
2022-11-09 06:17:45 -08:00
2022-10-19 20:52:22 -07:00
2022-08-02 10:08:05 -07:00