mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 12:19:41 +00:00
Close the provisioning socket
This commit is contained in:
@@ -40,6 +40,7 @@ TextSecureWebSocket = function (url) {
|
||||
|
||||
function resetKeepAliveTimer() {
|
||||
clearTimeout(keepAliveTimer);
|
||||
if (calledClose) { return; }
|
||||
keepAliveTimer = setTimeout(function() {
|
||||
if (socket.readyState === WebSocket.OPEN) {
|
||||
socket.send(
|
||||
|
||||
Reference in New Issue
Block a user