build(gulp): don't exit prematurely during cleanup
Before this change we would exit while there were cleanup micro tasks scheduled for executions, this caused tmp files to be left over and consume a lot of space. Fixes #4441
This commit is contained in:
parent
94274049d4
commit
ef7050892e
|
@ -1295,8 +1295,9 @@ process.on('SIGINT', function() {
|
|||
runSequence('cleanup.builder', function () {
|
||||
process.exit();
|
||||
});
|
||||
}
|
||||
} else {
|
||||
process.exit();
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue