fix: modernify code (#2068)
* fix: modernify code * standard fix * fixes
This commit is contained in:
committed by
GitHub
parent
c36e43eaa3
commit
e42a515199
@@ -38,7 +38,7 @@ function init () {
|
||||
win.loadURL(config.WINDOW_WEBTORRENT)
|
||||
|
||||
// Prevent killing the WebTorrent process
|
||||
win.on('close', function (e) {
|
||||
win.on('close', e => {
|
||||
if (app.isQuitting) {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user