We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86544c1 commit efd7e59Copy full SHA for efd7e59
bouncer.js
@@ -626,7 +626,7 @@ server = doServer(tlsOptions,function(socket) {
626
connections[this.hash].connected=false;
627
connections[this.hash].write("AWAY :away\n");
628
if(BOUNCER_TIMEOUT!=0 && BOUNCER_TIMEOUT!=null) {
629
- connections[this.hash].gone=setTimeout(()=>{connections[this.hash].end();delete connections[this.hash];},BOUNCER_TIMEOUT*1000,this.hash);
+ connections[this.hash].gone=setTimeout(()=>{try{connections[this.hash].end();}catch(e){} delete connections[this.hash];},BOUNCER_TIMEOUT*1000,this.hash);
630
}
631
632
0 commit comments