Skip to content

Commit

Permalink
qrlogin: the resource should take the update lock
Browse files Browse the repository at this point in the history
When using bindSafe, we should have the update lock
  • Loading branch information
RockinRoel committed Jul 23, 2020
1 parent 26138b4 commit 6f92c4e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/qrlogin/model/QRAuthService.C
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ public:
database_(database),
users_(users),
login_(login)
{ }
{
setTakesUpdateLock(true);
}

virtual ~QRLoginResource()
{
Expand Down

0 comments on commit 6f92c4e

Please sign in to comment.