fix trans cancel
This commit is contained in:
parent
448ade9b51
commit
05eb865da8
@ -579,7 +579,9 @@ namespace Pamac {
|
|||||||
public void trans_cancel () {
|
public void trans_cancel () {
|
||||||
alpm_config.handle.trans_interrupt ();
|
alpm_config.handle.trans_interrupt ();
|
||||||
alpm_config.handle.trans_release ();
|
alpm_config.handle.trans_release ();
|
||||||
refresh_handle ();
|
// explicitly quit to avoid a crash
|
||||||
|
// this daemon should be auto-restarted
|
||||||
|
quit ();
|
||||||
}
|
}
|
||||||
|
|
||||||
[DBus (no_reply = true)]
|
[DBus (no_reply = true)]
|
||||||
|
Loading…
Reference in New Issue
Block a user