Skip to content

Commit

Permalink
fix flutter analyze.
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudwebrtc committed Dec 18, 2023
1 parent 49f686a commit 121a95d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions lib/src/core/signal_client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ class SignalClient extends Disposable with EventsEmittable<SignalEvent> {

ConnectionState get connectionState => _connectionState;

final WebSocketConnector _wsConnector;
final WebSocketUtility _ws;

final _queue = Queue<lk_rtc.SignalRequest>();
Expand All @@ -58,8 +57,7 @@ class SignalClient extends Disposable with EventsEmittable<SignalEvent> {

@internal
SignalClient(WebSocketConnector wsConnector)
: _wsConnector = wsConnector,
_ws = WebSocketUtility(wsConnector) {
: _ws = WebSocketUtility(wsConnector) {
events.listen((event) {
logger.fine('[SignalEvent] $event');
});
Expand Down
2 changes: 1 addition & 1 deletion lib/src/support/websocket_utility.dart
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const defaultRetryDelaysInMs = [
class WebSocketUtility {
WebSocketUtility(this._wsConnector);
LiveKitWebSocket? _webSocket;
WebSocketConnector _wsConnector;
final WebSocketConnector _wsConnector;
SocketStatus _socketStatus = SocketStatus.kSocketStatusNone;
final int _reconnectCount = defaultRetryDelaysInMs.length;
int _reconnectTimes = 0;
Expand Down

0 comments on commit 121a95d

Please sign in to comment.