add comment to window-all-closed empty callback

This commit is contained in:
Stephen Birarda 2016-01-19 15:58:31 -08:00 committed by Ryan Huffman
parent e3d58ad845
commit de1355dab9

View file

@ -234,6 +234,9 @@ function openFileBrowser(path) {
}
}
// NOTE: this looks like it does nothing, but it's very important.
// Without it the default behaviour is to quit the app once all windows closed
// which is absolutely not what we want for a taskbar application.
app.on('window-all-closed', function() {
});