mirror of https://github.com/tailscale/tailscale/
cmd/tsconnect: close the SSH session an unload event instead of beforeunload
The window may not end up getting unloaded (if other beforeunload handlers prevent the event), thus we should only close the SSH session if it's truly getting unloaded. Updates tailscale/corp#7304 Signed-off-by: Mihai Parparita <mihai@tailscale.com>pull/5866/head
parent
84e8f25c21
commit
92ad56ddcb
Loading…
Reference in New Issue