Commit 5819e29
authored
android: make close() idempotent (#756)
If the VPN is revoked, close is called twice, resulting in the state being forced into Stopping after setWantRunning=true is issued
Updates tailscale/tailscale#18847
Signed-off-by: kari-ts <kari@tailscale.com>1 parent e118bbd commit 5819e29
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
96 | 97 | | |
97 | 98 | | |
98 | 99 | | |
| 100 | + | |
| 101 | + | |
99 | 102 | | |
100 | 103 | | |
101 | 104 | | |
| |||
0 commit comments