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:
parent
ee671f81e2
commit
13d58f67e3
@ -18,8 +18,7 @@ var webInterface = function(dbot) {
|
|||||||
|
|
||||||
return {
|
return {
|
||||||
'onDestroy': function() {
|
'onDestroy': function() {
|
||||||
console.log('on destroy');
|
app.close();
|
||||||
process.exit();
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user