From bb7779c159e42f13c39511d33416a347192ce92b Mon Sep 17 00:00:00 2001 From: Abhishek Sinha Date: Sat, 24 Aug 2019 16:45:21 +0530 Subject: [PATCH] fixed more bugs in backup ws and fixed readyState unchanged on onclose event error --- supernode/index.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/supernode/index.html b/supernode/index.html index bb7991d..467df06 100644 --- a/supernode/index.html +++ b/supernode/index.html @@ -11006,6 +11006,10 @@ if (getStatusOfDeadSuAgain[0].is_live==false) { // Kill the connection manually to ensure connection is really closed. + /* Source of inspiration:- + https://github.com/dart-lang/sdk/issues/25536 + https://bugs.chromium.org/p/chromium/issues/detail?id=76358 + */ if (localbitcoinplusplus.backupWS[getFLOId].ws_connection.readyState==1) { localbitcoinplusplus.backupWS[getFLOId].ws_connection.close(); }