Merge pull request #306 from dboze/fix-drainpool

check for millstone.drainpool only if -l flag is passed
cdb-prod
Dane Springmeyer 11 years ago
commit c1d750a246

@ -58,7 +58,7 @@ if (!existsSync(input)) {
function compileMML(err, data) {
// force drain the millstone download pool now
// to ensure we can exit without waiting
if (millstone.drainPool) {
if (options.localize && millstone.drainPool) {
millstone.drainPool(function() {});
}
if (err) {

Loading…
Cancel
Save