Skip to content

Commit

Permalink
[Swift 6] Marking unsafe
Browse files Browse the repository at this point in the history
  • Loading branch information
ncooke3 committed Aug 1, 2024
1 parent 279ac2a commit 3f1ba97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FirebaseStorage/Sources/Storage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -283,10 +283,10 @@ import FirebaseCore

/// A map of active instances, grouped by app. Keys are FirebaseApp names and values are
/// instances of Storage associated with the given app.
private static var instances: [String: Storage] = [:]
private nonisolated(unsafe) static var instances: [String: Storage] = [:]

/// Lock to manage access to the instances array to avoid race conditions.
private static var instancesLock: os_unfair_lock = .init()
private nonisolated(unsafe) static var instancesLock: os_unfair_lock = .init()

var host: String
var scheme: String
Expand Down

0 comments on commit 3f1ba97

Please sign in to comment.