Don't try to reconnect if we reset the connection on our own
parent
6122929461
commit
a444e870e0
|
@ -93,6 +93,7 @@ function handshake()
|
||||||
//We get a disconnect message
|
//We get a disconnect message
|
||||||
if(obj.disconnect)
|
if(obj.disconnect)
|
||||||
{
|
{
|
||||||
|
socket.reconnect = false;
|
||||||
socket.disconnect();
|
socket.disconnect();
|
||||||
alert("You have this Pad already opened in another Window/Tab");
|
alert("You have this Pad already opened in another Window/Tab");
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue