windows.js: small fix
This commit is contained in:
@@ -51,8 +51,9 @@ function createMainWindow (menu) {
|
||||
win.hide()
|
||||
}
|
||||
})
|
||||
|
||||
win.once('closed', function () {
|
||||
win = null
|
||||
windows.main = null
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user