3
0
mirror of https://github.com/reality/dbot.git synced 2025-02-20 07:20:59 +01:00

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 { return {
'onDestroy': function() { 'onDestroy': function() {
console.log('on destroy'); app.close();
process.exit();
} }
}; };
}; };