diff --git a/lib/cwmp.coffee b/lib/cwmp.coffee index 1918172..884a836 100644 --- a/lib/cwmp.coffee +++ b/lib/cwmp.coffee @@ -37,6 +37,7 @@ MAX_CYCLES = 4 throwError = (err, httpResponse) -> if httpResponse + delete currentSessions.delete(httpResponse.connection) httpResponse.writeHead(500, {'Connection' : 'close'}) httpResponse.end("#{err.name}: #{err.message}")