Skip to content
Commit c5fa8cc8 authored by Ahmad Samir's avatar Ahmad Samir
Browse files

SmtpJob: Fix crash in startLoginJob

- The user tries to connect to an smtp server, the password dialog is shown
  starting a nested eventloop with exec()
- the connection is lost, the smtpjob is killed (due to connect() in startSmtpJob)
- the dialog::exec returns, and the code tries to setError(KilledJobError)
  on an already killed job which leads to a crash

fix the issue by using QDialog::open() to make the code async.

BUG: 421930

!4
(cherry picked from commit 14894bef)
parent 7eafe0ef
Loading
Loading
Loading
Pipeline #39922 failed with stage
in 12 minutes and 46 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment