File tree 2 files changed +3
-3
lines changed
Sources/NWWebSocket/Model/Client
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ source 'https://github.com/CocoaPods/Specs.git'
48
48
platform :ios , ' 14.0'
49
49
use_frameworks!
50
50
51
- pod ' NWWebSocket' , ' ~> 0.5.2 '
51
+ pod ' NWWebSocket' , ' ~> 0.5.3 '
52
52
```
53
53
54
54
Then, run the following command:
@@ -90,7 +90,7 @@ let package = Package(
90
90
],
91
91
dependencies : [
92
92
.package (url : " https://github.com/pusher/NWWebSocket.git" ,
93
- .upToNextMajor (from : " 0.5.2 " )),
93
+ .upToNextMajor (from : " 0.5.3 " )),
94
94
],
95
95
targets : [
96
96
.target (
Original file line number Diff line number Diff line change @@ -352,7 +352,7 @@ open class NWWebSocket: WebSocketConnection {
352
352
disconnectionWorkItem? . cancel ( )
353
353
354
354
disconnectionWorkItem = DispatchWorkItem { [ weak self] in
355
- guard let self else { return }
355
+ guard let self = self else { return }
356
356
self . delegate? . webSocketDidDisconnect ( connection: self ,
357
357
closeCode: closeCode,
358
358
reason: reason)
You can’t perform that action at this time.
0 commit comments