fix undefined reference

pull/1/head
ansuz 8 years ago
parent 3e118c6a38
commit f329726fa4

@ -90,6 +90,7 @@ var isTooOld = function (time, now) {
var expireSessions = function (Sessions) { var expireSessions = function (Sessions) {
var now = +new Date(); var now = +new Date();
Object.keys(Sessions).forEach(function (key) { Object.keys(Sessions).forEach(function (key) {
var session = Sessions[key];
if (isTooOld(Sessions[key].atime, now)) { if (isTooOld(Sessions[key].atime, now)) {
if (session.blobstage) { if (session.blobstage) {
session.blobstage.close(); session.blobstage.close();

Loading…
Cancel
Save