Closed arcanis closed 12 years ago
'exit'
is the last tick of event-loop. It's impossible to perform any asynchronous actions after 'exit'
event was emitted. It's not a bug of node-sync - it's a nodejs feature ;)
process.on('exit', function ( ) {
process.nextTick(function(){
console.log('hehe'); // will never run
});
});
Yep, I have seen this in the doc, but I was hopping that it would work anyway with Sync.
Thanks :)
Hi,
Minimal showcase :