joyent/node — Issue #2730: Script ending with events pending.
Author: RumpleFraggle
Created: 2012-02-09 20:13:42+00:00
State: open

This might not be a bug I could just be misunderstanding.

I thought though if there where events registered that the program would not just exit but continue to run.

var events = require('events');

var eventEmitter = new events.EventEmitter();

eventEmitter.on('someOccurence', function(message){
console.log(message);
});