mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-24 08:19:48 +01:00
closes #7053
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user