Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.

Commit

Permalink
nitpick: lock release order
Browse files Browse the repository at this point in the history
  • Loading branch information
whyrusleeping committed Oct 28, 2016
1 parent 052a120 commit 41d999e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dial_sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ func (ad *activeDial) decref() {
ad.cancel()
delete(ad.ds.dials, ad.id)
}
ad.ds.dialsLk.Unlock()
ad.refCntLk.Unlock()
ad.ds.dialsLk.Unlock()
}
}

Expand Down

0 comments on commit 41d999e

Please sign in to comment.