Fix execution queue in network handler
This commit is contained in:
parent
6ac9d61827
commit
79509a1ea1
|
@ -1194,8 +1194,10 @@ public class SessionProxy {
|
|||
completion()
|
||||
return
|
||||
}
|
||||
link.writePackets(packets) { (error) in
|
||||
completion()
|
||||
link.writePackets(packets) { [weak self] (error) in
|
||||
self?.queue.sync {
|
||||
completion()
|
||||
}
|
||||
}
|
||||
} catch {
|
||||
completion()
|
||||
|
|
Loading…
Reference in New Issue