@ -42,6 +42,7 @@ Minifier.killAll = function () {
});
pool.length = 0;
free.length = 0;
};
function getChild() {
@ -217,6 +217,10 @@ middleware.buildSkinAsset = function (req, res, next) {
async.waterfall([
async.apply(plugins.prepareForBuild, ['client side styles']),
async.apply(meta.css.buildBundle, target[0], true),
function (next) {
require('../meta/minifier').killAll();
next();
},
], next);
} else {
setImmediate(next);