Skip to content

Commit 89ab8f1

Browse files
committed
fix(vpn): remove WaitGroup sync in FakeDNS proxy teardown to prevent UI thread deadlock (ANR) on disconnect
1 parent b4daa33 commit 89ab8f1

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

mobile/tun/fakedns_proxy.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ func (p *FakeDNSProxy) Stop() {
4747
if p.listener != nil {
4848
p.listener.Close()
4949
}
50-
p.wg.Wait()
5150
}
5251

5352
func (p *FakeDNSProxy) acceptLoop() {

0 commit comments

Comments
 (0)