Closed Bug 563562 Opened 14 years ago Closed 14 years ago

Do not keep AddonInstall objects for restartless installs

Categories

(Toolkit :: Add-ons Manager, defect, P1)

defect

Tracking

()

VERIFIED FIXED
mozilla1.9.3a5

People

(Reporter: Unfocused, Assigned: mossop)

References

Details

(Whiteboard: [rewrite])

Attachments

(1 file)

Followup from bug 553022.

For restartless installs, AddonInstall objects should not be kept once the install has completed, and should not be returned by getInstallsByTypes()
Attached patch patch rev 1Splinter Review
Simple patch, this removes AddonInstalls from the active list when they have completed successfully and the install does not require a restart.
Assignee: nobody → dtownsend
Status: NEW → ASSIGNED
Attachment #443640 - Flags: review?(robert.bugzilla)
Flags: in-testsuite+
Whiteboard: [rewrite] → [rewrite][fixed-in-addonsmgr][needs-review]
Attachment #443640 - Flags: review?(robert.bugzilla) → review+
Whiteboard: [rewrite][fixed-in-addonsmgr][needs-review] → [rewrite][fixed-in-addonsmgr][needs-landing]
http://hg.mozilla.org/mozilla-central/rev/bf342cfdc105
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Flags: in-litmus-
Resolution: --- → FIXED
Whiteboard: [rewrite][fixed-in-addonsmgr][needs-landing] → [rewrite]
Target Milestone: --- → mozilla1.9.3a5
Marking as verified fixed based on check-in and passing automated tests.
Status: RESOLVED → VERIFIED
Version: unspecified → Trunk
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: