Mihai Parparita 92ad56ddcb 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>
2022-10-06 13:17:15 -07:00
..
2022-09-29 13:36:13 -07:00
2022-04-07 16:38:33 -04:00
2022-08-02 10:08:05 -07:00
2022-09-29 13:36:13 -07:00