Skip to content

Commit

Permalink
fix: fix coredata crash on primary course (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
saeedbashir authored and rnr committed Sep 6, 2024
1 parent a405dce commit 036ff72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenEdX/Data/DashboardPersistence.swift
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ public class DashboardPersistence: DashboardPersistenceProtocol {
// swiftlint:enable function_body_length

func clearOldEnrollmentsData() {
context.perform {[context] in
context.performAndWait {[context] in
let fetchRequest1: NSFetchRequest<NSFetchRequestResult> = CDDashboardCourse.fetchRequest()
let batchDeleteRequest1 = NSBatchDeleteRequest(fetchRequest: fetchRequest1)

Expand Down

0 comments on commit 036ff72

Please sign in to comment.