Commit 728d75f8 authored by Thomas Urban's avatar Thomas Urban

fixing statistics interval timer preventing application close on demand

parent 4a96825d
......@@ -408,6 +408,8 @@ new Promise( resolve => {
}
function cancelClient( client ) {
clearInterval( client.statsTimer );
cancelled[client.id] = true;
if ( Object.keys( cancelled ).length >= NumClients ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment