Remove an obsolete comment.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 27 Jun 2015 13:44:27 +0000 (15:44 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 27 Jun 2015 13:44:27 +0000 (15:44 +0200)
This is allowed; see

  http://stackoverflow.com/questions/3463048/is-it-safe-to-delete-an-object-property-while-iterating-over-them

www/serve-analysis.js

index d659b61..2a53e36 100644 (file)
@@ -303,7 +303,7 @@ if (COUNT_FROM_VARNISH_LOG) {
                        if (now - uniques[unique].grace > 5000) {
                                log("Timing out " + unique + " (last_seen=" + last_seen + ", now=" + now +
                                        ", mtime=" + mtime, ", grace=" + uniques[unique].grace + ")");
-                               delete uniques[unique]; // ???
+                               delete uniques[unique];
                                --num_viewers;
                        }
                }