daemon/transaction: Emit progress end signal
This is not strictly necessary since the progress is considered ended on the client side when the transaction is finished, but let's be nice. Closes: #1676 Approved by: cgwalters
This commit is contained in:
parent
71f0a30d83
commit
c7ce2564dc
@ -347,6 +347,7 @@ package_diff_transaction_execute (RpmostreedTransaction *transaction,
|
|||||||
if (!apply_revision_override (transaction, repo, progress, origin,
|
if (!apply_revision_override (transaction, repo, progress, origin,
|
||||||
self->revision, cancellable, error))
|
self->revision, cancellable, error))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
rpmostree_transaction_emit_progress_end (RPMOSTREE_TRANSACTION (transaction));
|
||||||
}
|
}
|
||||||
else if (upgrading)
|
else if (upgrading)
|
||||||
{
|
{
|
||||||
@ -870,6 +871,7 @@ deploy_transaction_execute (RpmostreedTransaction *transaction,
|
|||||||
if (!apply_revision_override (transaction, repo, progress, origin,
|
if (!apply_revision_override (transaction, repo, progress, origin,
|
||||||
self->revision, cancellable, error))
|
self->revision, cancellable, error))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
rpmostree_transaction_emit_progress_end (RPMOSTREE_TRANSACTION (transaction));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user