Skip to content
Commit 7b2a5cce authored by Fabian Vogt's avatar Fabian Vogt
Browse files

SmtpJob: Fix use of KCompositeJob

SmtpJob overrides slotResult, but this had two issues. First, it connected
to LoginJob::result itself, though addJob already does that. Second, in two
cases it did not remove finished jobs from the list of subjobs, leading to
dangling pointers and messing up state. This was most likely only reached
in the case of an expired XOAUTH2 access_token and caused the job to fail
after a successful refresh.

BUG: 406839
BUG: 409122
BUG: 421664
BUG: 456923
parent 3748bf12
Loading
Loading
Loading
Pipeline #282597 skipped
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