Commit 89bc297
committed
Ensure the OP_WRITE subscription can't get left on
Unclear how, but it seems that it is still possible for this to happen.
Once it does, that channel spins 100% on the device until it closes, or
until we successfully write something else (and clear up afterwards).
Would be nice to find the root cause, but this solves the immediate
problem safely & clearly.1 parent 5b74ae8 commit 89bc297
File tree
1 file changed
+4
-3
lines changed- app/src/main/java/tech/httptoolkit/android/vpn/socket
1 file changed
+4
-3
lines changedLines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
154 | | - | |
155 | 153 | | |
156 | 154 | | |
157 | 155 | | |
| |||
235 | 233 | | |
236 | 234 | | |
237 | 235 | | |
238 | | - | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
239 | 240 | | |
240 | 241 | | |
241 | 242 | | |
| |||
0 commit comments