Skip to content

Commit c3c27cb

Browse files
committed
ipn/proxies: clear hop map on stop
1 parent 8aadc44 commit c3c27cb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

intra/ipn/proxies.go

+4
Original file line numberDiff line numberDiff line change
@@ -811,6 +811,10 @@ func (px *proxifier) stopProxies() {
811811
clear(px.rp)
812812
px.rpnmu.Unlock()
813813

814+
px.hmu.Lock()
815+
clear(px.hp)
816+
px.hmu.Unlock()
817+
814818
px.Lock()
815819
defer px.Unlock()
816820

0 commit comments

Comments
 (0)