fix trans cancel

This commit is contained in:
guinux 2015-01-10 11:31:51 +01:00
parent 448ade9b51
commit 05eb865da8

View File

@ -579,7 +579,9 @@ namespace Pamac {
public void trans_cancel () {
alpm_config.handle.trans_interrupt ();
alpm_config.handle.trans_release ();
refresh_handle ();
// explicitly quit to avoid a crash
// this daemon should be auto-restarted
quit ();
}
[DBus (no_reply = true)]