Skip to content

Commit

Permalink
Merge pull request #79 from launchdarkly/eb/ch26827/client-hang
Browse files Browse the repository at this point in the history
fix unreleased read lock that can cause a hang
  • Loading branch information
eli-darkly authored Nov 19, 2018
2 parents 56fd700 + f7e4110 commit f793348
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion relay.go
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ type evalXResult struct {

func (c *clientContextImpl) getClient() LdClientContext {
c.mu.RLock()
defer c.mu.RLock()
defer c.mu.RUnlock()
return c.client
}

Expand Down

0 comments on commit f793348

Please sign in to comment.