New version v2.3.6
This commit is contained in:
@@ -54,7 +54,7 @@ class SMTPClient {
|
||||
|
||||
let hostName = self.host
|
||||
try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<Void, Error>) in
|
||||
final class ResumeOnce {
|
||||
final class ResumeOnce: @unchecked Sendable {
|
||||
var resumed = false
|
||||
let lock = NSLock()
|
||||
}
|
||||
@@ -92,7 +92,7 @@ class SMTPClient {
|
||||
|
||||
let hostName = self.host
|
||||
try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<Void, Error>) in
|
||||
final class ResumeOnce {
|
||||
final class ResumeOnce: @unchecked Sendable {
|
||||
var resumed = false
|
||||
let lock = NSLock()
|
||||
}
|
||||
@@ -251,7 +251,7 @@ class SMTPClient {
|
||||
self.connection = NWConnection(host: NWEndpoint.Host(host), port: NWEndpoint.Port(integerLiteral: port), using: params)
|
||||
|
||||
try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<Void, Error>) in
|
||||
final class ResumeOnce {
|
||||
final class ResumeOnce: @unchecked Sendable {
|
||||
var resumed = false
|
||||
let lock = NSLock()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user