forked from GitHub/dbot
app.close() ends the event loop
This commit is contained in:
parent
ee671f81e2
commit
13d58f67e3
@ -18,8 +18,7 @@ var webInterface = function(dbot) {
|
||||
|
||||
return {
|
||||
'onDestroy': function() {
|
||||
console.log('on destroy');
|
||||
process.exit();
|
||||
app.close();
|
||||
}
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user