fix: code lint

This commit is contained in:
Nick
2019-03-19 14:46:10 -04:00
parent 343d4db0b3
commit 0fd681c1a5
9 changed files with 31 additions and 168 deletions

View File

@@ -387,7 +387,7 @@ module.exports = () => {
let key = conn.remoteAddress + ':' + conn.remotePort
openConnections[key] = conn
conn.on('close', () => {
delete openConnections[key]
openConnections.splice(key, 1)
})
})