mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-24 10:28:03 +01:00
WebSocketResource exposes socket.close()
Allows for simplification of the keepalive construct.
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
}
|
||||
|
||||
this.wsr = new WebSocketResource(this.socket, this.handleRequest.bind(this));
|
||||
this.keepalive = new KeepAlive(this.wsr, this.socket);
|
||||
this.keepalive = new KeepAlive(this.wsr);
|
||||
|
||||
},
|
||||
handleRequest: function(request) {
|
||||
|
||||
Reference in New Issue
Block a user