Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
kean committed Sep 5, 2024
1 parent 3ad3646 commit 960830e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/Pulse/Helpers/PulseDocument.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ final class PulseDocument {
}

/// - warning: Model has to be loaded only once.
static let model: NSManagedObjectModel = {
nonisolated(unsafe) static let model: NSManagedObjectModel = {
let model = NSManagedObjectModel()
let blob = NSEntityDescription(class: PulseBlobEntity.self)
blob.properties = [
Expand Down
2 changes: 1 addition & 1 deletion Sources/Pulse/LoggerStore/LoggerStore+Model.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ extension LoggerStore {
/// Returns Core Data model used by the store.
///
/// - warning: Model has to be loaded only once.
static let model: NSManagedObjectModel = {
nonisolated(unsafe) static let model: NSManagedObjectModel = {
typealias Entity = NSEntityDescription
typealias Attribute = NSAttributeDescription
typealias Relationship = NSRelationshipDescription
Expand Down

0 comments on commit 960830e

Please sign in to comment.