mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-04-17 20:08:28 +00:00
fix oidc crash
This commit is contained in:
parent
00f94690c8
commit
9aa5e1d8b3
1 changed files with 2 additions and 2 deletions
|
|
@ -439,11 +439,11 @@ void CoreModel::onAuthenticationRequested(const std::shared_ptr<linphone::Core>
|
||||||
mustBeInLinphoneThread(log().arg(Q_FUNC_INFO));
|
mustBeInLinphoneThread(log().arg(Q_FUNC_INFO));
|
||||||
lWarning() << log().arg("Request failed") << error;
|
lWarning() << log().arg("Request failed") << error;
|
||||||
emit oidcRequestFailed(error);
|
emit oidcRequestFailed(error);
|
||||||
|
oidcModel->forceTimeout();
|
||||||
});
|
});
|
||||||
connect(oidcModel, &OIDCModel::finished, this, [this, oidcModel] {
|
connect(oidcModel, &OIDCModel::finished, this, [this, oidcModel] {
|
||||||
mustBeInLinphoneThread(log().arg(Q_FUNC_INFO));
|
mustBeInLinphoneThread(log().arg(Q_FUNC_INFO));
|
||||||
lWarning() << log().arg("Request finished");
|
lInfo() << log().arg("Request finished");
|
||||||
oidcModel->forceTimeout();
|
|
||||||
});
|
});
|
||||||
if (oidcModel->isTimerRunning()) {
|
if (oidcModel->isTimerRunning()) {
|
||||||
emit timeoutTimerStarted();
|
emit timeoutTimerStarted();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue