diff --git a/Sources/LicensePlistCore/Extension/APIKit.extension.swift b/Sources/LicensePlistCore/Extension/APIKit.extension.swift index 40cd8217..d1211cda 100644 --- a/Sources/LicensePlistCore/Extension/APIKit.extension.swift +++ b/Sources/LicensePlistCore/Extension/APIKit.extension.swift @@ -7,12 +7,12 @@ extension Session: LicensePlistCompatible {} extension LicensePlistExtension where Base: Session { func sendSync(_ request: T) -> Result { var result: Result! - let semaphor = DispatchSemaphore(value: 0) + let semaphore = DispatchSemaphore(value: 0) self.base.send(request, callbackQueue: .sessionQueue) { _result in result = _result - semaphor.signal() + semaphore.signal() } - semaphor.wait() + semaphore.wait() return result } func send(_ request: T) -> ResultOperation {