dfaure added a comment.

  I think it's an unwanted fact that the chmod job runs in parallel with the 
del job.
  A "return" after creating the chmod job would fix all this.
  
  But of course it should be possible to have two concurrent subjobs (one on 
dest, one on src), this whole issue just makes me realize that it makes the 
error handling more tricky ;-)
  
  If we want to keep these two running in parallel, we need to fix FileCopyJob 
to kill the running subjob when emitting the error from the other one.
  Would this fix it?
  http://www.davidfaure.fr/2019/filecopyjob.cpp.diff

REPOSITORY
  R241 KIO

REVISION DETAIL
  https://phabricator.kde.org/D19170

To: hallas, #frameworks, elvisangelaccio, dfaure
Cc: cfeck, dhaumann, kde-frameworks-devel, michaelh, ngraham, bruns

Reply via email to