This commit is contained in:
Baris Usakli
2018-12-04 19:58:12 -05:00
parent 7eee8e1d06
commit 67ac8e3d06
2 changed files with 5 additions and 0 deletions

View File

@@ -42,6 +42,7 @@ Minifier.killAll = function () {
});
pool.length = 0;
free.length = 0;
};
function getChild() {

View File

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