Skip to content

Commit bd755ac

Browse files
committed
Unlock GPGS certs cache in social client.
1 parent c80f102 commit bd755ac

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ The format is based on [keep a changelog](http://keepachangelog.com) and this pr
77
### Fixed
88
- Set gateway timeout to match idle timeout value.
99
- Reliably release database resources before moving from one query to the next.
10+
- Unlock GPGS certs cache in social client.
1011

1112
## [2.3.1] - 2019-01-04
1213
### Added

social/social.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,10 +267,10 @@ func (c *Client) CheckGoogleToken(ctx context.Context, idToken string) (*GoogleP
267267
break
268268
}
269269
}
270+
c.RUnlock()
270271

271272
// All verification attempts failed.
272273
if token == nil {
273-
c.RUnlock()
274274
return nil, errors.New("google id token invalid")
275275
}
276276

0 commit comments

Comments
 (0)