Fix double-lock

This commit is contained in:
Jeff Mitchell 2017-03-02 10:54:31 -05:00
parent 31cddc43e1
commit bb05f2d8f8
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ func (c *Core) loadLocalClusterTLS(adv activeAdvertisement) (retErr error) {
c.localClusterCert = nil
c.localClusterPrivateKey = nil
c.localClusterParsedCert = nil
c.clusterParamsLock.Lock()
c.clusterParamsLock.Unlock()
c.requestForwardingConnectionLock.Lock()
c.clearForwardingClients()