v1.18.x
Baris Usakli 6 years ago
parent 7eee8e1d06
commit 67ac8e3d06

@ -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);

Loading…
Cancel
Save