Skip to content

SmtpJob: Fix use of KCompositeJob

Fabian Vogt requested to merge work/fvogt/smtpjobfix into release/22.12

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.

With libkgapi!33 (merged), this should fix:

BUG: 406839 BUG: 409122 BUG: 421664 BUG: 456923

Edited by Fabian Vogt

Merge request reports