Permalink
Browse files

checks for millstone.drainpool only if -l flag is passed

  • Loading branch information...
1 parent f6dea7f commit 72a79ab0735d1f2071da1075e91665e3503447a8 @dboze dboze committed Sep 24, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/carto
View
@@ -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) {

0 comments on commit 72a79ab

Please sign in to comment.