Merge lp:~marcustomlinson/update-manager/update-manager into lp:update-manager

Proposed by Marcus Tomlinson
Status: Merged
Merged at revision: 2886
Proposed branch: lp:~marcustomlinson/update-manager/update-manager
Merge into: lp:update-manager
Diff against target: 26 lines (+7/-1)
2 files modified
UpdateManager/backend/__init__.py (+1/-1)
debian/changelog (+6/-0)
To merge this branch: bzr merge lp:~marcustomlinson/update-manager/update-manager
Reviewer Review Type Date Requested Status
Brian Murray Pending
Ubuntu Core Development Team Pending
Review via email: mp+382863@code.launchpad.net

Commit message

Fix intermittent hang during snap updates.

To post a comment you must log in.
2886. By Brian Murray

Fix intermittent hang during snap updates (LP: #1874469).

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'UpdateManager/backend/__init__.py'
2--- UpdateManager/backend/__init__.py 2020-04-16 10:38:22 +0000
3+++ UpdateManager/backend/__init__.py 2020-04-23 15:18:42 +0000
4@@ -224,7 +224,7 @@
5 # change.get_tasks() can increase between callbacks so we must
6 # avoid jumping backward in progress here
7 if total_fraction > progress_bar.get_fraction():
8- progress_bar.set_fraction(total_fraction)
9+ GLib.idle_add(progress_bar.set_fraction, total_fraction)
10
11 def update_snaps(self):
12 # update status and progress bar
13
14=== modified file 'debian/changelog'
15--- debian/changelog 2020-04-16 17:59:56 +0000
16+++ debian/changelog 2020-04-23 15:18:42 +0000
17@@ -1,3 +1,9 @@
18+update-manager (1:20.04.9) focal; urgency=medium
19+
20+ * Fix intermittent hang during snap updates (LP: #1874469).
21+
22+ -- Marcus Tomlinson <marcus.tomlinson@canonical.com> Thu, 23 Apr 2020 16:14:21 +0100
23+
24 update-manager (1:20.04.8) focal; urgency=medium
25
26 * Remove ubuntu-support-status as the term support can be confusing and the

Subscribers

People subscribed via source and target branches

to status/vote changes: