Close the provisioning socket
This commit is contained in:
parent
43d6efcd9e
commit
37c496f4f0
3 changed files with 8 additions and 2 deletions
|
@ -40,6 +40,7 @@ TextSecureWebSocket = function (url) {
|
|||
|
||||
function resetKeepAliveTimer() {
|
||||
clearTimeout(keepAliveTimer);
|
||||
if (calledClose) { return; }
|
||||
keepAliveTimer = setTimeout(function() {
|
||||
if (socket.readyState === WebSocket.OPEN) {
|
||||
socket.send(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue