Merge pull request #16130 from Atlante45/fix/avatar-mixer-crash

BUGZ-1405: Add context object to timer connection
This commit is contained in:
Howard Stearns 2019-09-03 14:40:46 -07:00 committed by GitHub
commit 9e5f26cf4c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,7 +33,7 @@ MixerAvatar::MixerAvatar() {
_challengeTimer.setSingleShot(true);
_challengeTimer.setInterval(CHALLENGE_TIMEOUT_MS);
_challengeTimer.callOnTimeout([this]() {
_challengeTimer.callOnTimeout(this, [this]() {
if (_verifyState == challengeClient) {
_pendingEvent = false;
_verifyState = verificationFailed;