windows.js: small fix

This commit is contained in:
Feross Aboukhadijeh
2016-03-05 17:22:50 -08:00
parent a94f5ed6a2
commit 30ec87e7a7

View File

@@ -51,8 +51,9 @@ function createMainWindow (menu) {
win.hide()
}
})
win.once('closed', function () {
win = null
windows.main = null
})
}