Commit 0a44aee
fix: handle removal of pending app items
1. Add check for pending app items in watchingAppItemRemoved
2. Handle cleanup of items in m_pendingAppItems container
3. Prevent potential memory leaks from unmanaged pending items
4. Ensure early return logic to avoid processing invalid active items
5. Improve app lifecycle management during installation or
initialization
Influence:
1. Test removing applications while they are in a pending state
2. Verify system stability when cancelling app installations
3. Check logs for "Removing pending app item" debug messages
4. Monitor for memory leaks during repeated app install/remove cycles
5. Ensure app icons disappear correctly after pending removal
PMS: BUG-3478591 parent 424540a commit 0a44aee
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
532 | 532 | | |
533 | 533 | | |
534 | 534 | | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
535 | 544 | | |
536 | 545 | | |
537 | 546 | | |
| |||
0 commit comments