We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a58294f commit 14fd3adCopy full SHA for 14fd3ad
WooCommerce/Classes/Tools/BackgroundTasks/BackgroundTaskRefreshDispatcher.swift
@@ -14,7 +14,9 @@ final class BackgroundTaskRefreshDispatcher {
14
/// Schedule the app refresh background task.
15
///
16
func scheduleAppRefresh() {
17
- BGTaskScheduler.shared.cancelAllTaskRequests()
+ for taskType in BackgroundTaskType.allCases {
18
+ BGTaskScheduler.shared.cancel(taskRequestWithIdentifier: taskType.identifier)
19
+ }
20
schedule.setDefaultPreferredTaskDates()
21
scheduleNextTask()
22
}
0 commit comments