Commit 41d999eb authored by Jeromy's avatar Jeromy

nitpick: lock release order

parent 052a1204
...@@ -68,8 +68,8 @@ func (ad *activeDial) decref() { ...@@ -68,8 +68,8 @@ func (ad *activeDial) decref() {
ad.cancel() ad.cancel()
delete(ad.ds.dials, ad.id) delete(ad.ds.dials, ad.id)
} }
ad.ds.dialsLk.Unlock()
ad.refCntLk.Unlock() ad.refCntLk.Unlock()
ad.ds.dialsLk.Unlock()
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment