monitor: always exit, fixes #592

This commit is contained in:
Zolmeister
2015-07-26 00:57:13 -07:00
parent 53b2ab321b
commit e89786388c

View File

@@ -278,10 +278,10 @@ bus.on('quit', function onQuit() {
listener();
}
});
process.exit(0);
} else {
bus.emit('exit');
}
process.exit(0);
};
// if we're not running already, don't bother with trying to kill