Skip to content
  • Ahmad Samir's avatar
    SmtpJob: Fix crash in startLoginJob · 14894bef
    Ahmad Samir authored
    - 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
    14894bef