Skip to content
This repository was archived by the owner on Nov 1, 2022. It is now read-only.
This repository was archived by the owner on Nov 1, 2022. It is now read-only.

Clear notification and download jobs when onTaskRemoved or onDestroy are called #6764

Closed
@Amejia481

Description

@Amejia481

We were partially cleaning notifications/jobs when onTaskRemoved and onDestroy assuming that they were called one after another, but in reality, after doing some testing is they can be called independently.

When onTaskRemoved was called onDestroy wasn't called after, for this reason we have to make sure we clean our resources in both methods to avoid issues like mozilla-mobile/fenix#9884

┆Issue is synchronized with this Jira Task

Metadata

Metadata

Assignees

Labels

<download>Component: feature-download

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions