Permalink
Browse files

fixed problem that crashed production server when an application was …

…unloaded
  • Loading branch information...
1 parent 074898d commit d895bbd278f10d11b8d8dc9cf67d0a34b336e077 @matthewfl committed Jan 4, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 production.js
View
@@ -33,7 +33,7 @@ setInterval(function () {
var time = Date.now();
for(var a in boxes) {
if(time - boxes[a]._last_use > 300*1000) {
- boxes[a] = null;
+ delete boxes[a];
}
}
for(var a in boxes) {

0 comments on commit d895bbd

Please sign in to comment.