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 393857a commit d82bb97Copy full SHA for d82bb97
bouncer.js
@@ -561,7 +561,7 @@ server = doServer(tlsOptions,function(socket) {
561
connections[this.hash].connected=false;
562
connections[this.hash].write("AWAY :jbnc\n");
563
if(BOUNCER_TIMEOUT!=0 && BOUNCER_TIMEOUT!=null) {
564
- connections[this.hash].gone=setTimeout(function(x){connections[x].end();delete connections[x];},BOUNCER_TIMEOUT*1000,this.hash);
+ connections[this.hash].gone=setTimeout(function(x){try{connections[x].end();}catch(e){} try{delete connections[x];}catch(e){} },BOUNCER_TIMEOUT*1000,this.hash);
565
}
566
567
0 commit comments