app.close() ends the event loop

This commit is contained in:
Luke Slater 2011-09-14 17:46:59 +01:00
parent ee671f81e2
commit 13d58f67e3

View File

@ -18,8 +18,7 @@ var webInterface = function(dbot) {
return {
'onDestroy': function() {
console.log('on destroy');
process.exit();
app.close();
}
};
};