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));
|
||||
lWarning() << log().arg("Request failed") << error;
|
||||
emit oidcRequestFailed(error);
|
||||
oidcModel->forceTimeout();
|
||||
});
|
||||
connect(oidcModel, &OIDCModel::finished, this, [this, oidcModel] {
|
||||
mustBeInLinphoneThread(log().arg(Q_FUNC_INFO));
|
||||
lWarning() << log().arg("Request finished");
|
||||
oidcModel->forceTimeout();
|
||||
lInfo() << log().arg("Request finished");
|
||||
});
|
||||
if (oidcModel->isTimerRunning()) {
|
||||
emit timeoutTimerStarted();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue