Skip to content

Commit

Permalink
Merge pull request #9 from SignalK/ws-leak-fix
Browse files Browse the repository at this point in the history
Remove unused app.connections & fix leak
  • Loading branch information
tkurki committed Nov 12, 2014
2 parents 6b4770c + a5f2537 commit 73bbcaf
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/interfaces/ws.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
pathname: '/signalk/stream' })
;

app.connections = {};

debug('Starting Primus/WS interface');

Expand Down Expand Up @@ -39,7 +38,6 @@
app.signalk.removeListener(event, onChange);
}

app.connections[spark.id] = spark;
});

primus.on('disconnection', function(spark) {
Expand Down

0 comments on commit 73bbcaf

Please sign in to comment.