Properly kill libarchive jobs
ClosedPublic

Authored by elvisangelaccio on Apr 23 2016, 12:10 PM.

Details

Summary

We just need use the m_abortOperation flag, like we already do for ListJobs.

However killing an AddToArchive jobs still would crash Ark. Dropping the
disconnect() in the Job dtor seems to fix this.

Test Plan

libarchive AddJobs are now properly killed (both using the systray button or
closing the Ark window).

cliinterface is still broken for now.

Diff Detail

Repository
R36 Ark
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
elvisangelaccio retitled this revision from to Properly kill libarchive AddJobs.
elvisangelaccio updated this object.
elvisangelaccio edited the test plan for this revision. (Show Details)
elvisangelaccio added a reviewer: rthomsen.
Restricted Application added a project: Ark. · View Herald TranscriptApr 23 2016, 12:10 PM
Restricted Application added a subscriber: kde-utils-devel. · View Herald Transcript
  • Try also to fix libarchive ExtractJobsx
  • Fix also DeleteJobs
rthomsen accepted this revision.Apr 23 2016, 1:11 PM
rthomsen edited edge metadata.

Ship it!!! :)

This revision is now accepted and ready to land.Apr 23 2016, 1:11 PM
elvisangelaccio retitled this revision from Properly kill libarchive AddJobs to Properly kill libarchive jobs.Apr 23 2016, 1:11 PM
elvisangelaccio edited edge metadata.
This revision was automatically updated to reflect the committed changes.