We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent baa344c commit 72d7e96Copy full SHA for 72d7e96
1 file changed
Sources/SwiftyStoreKit/ProductsInfoController.swift
@@ -49,17 +49,17 @@ class ProductsInfoController: NSObject {
49
}
50
51
// As we can have multiple inflight requests, we store them in a dictionary by product ids
52
- private var _inflightRequests: [Set<String>: InAppProductQuery] = [:]
+ private var inflightRequestsStorage: [Set<String>: InAppProductQuery] = [:]
53
private let requestsQueue = DispatchQueue(label: "inflightRequestsQueue", attributes: .concurrent)
54
private var inflightRequests: [Set<String>: InAppProductQuery] {
55
get {
56
requestsQueue.sync {
57
- _inflightRequests
+ inflightRequestsStorage
58
59
60
set {
61
requestsQueue.sync(flags: .barrier) {
62
- self._inflightRequests = newValue
+ inflightRequestsStorage = newValue
63
64
65
0 commit comments