Update outdated comment on mainWindow.globals

This commit is contained in:
Albert Zhang 2023-12-04 07:10:16 -05:00
parent a63a3e710f
commit a2eff72147
No known key found for this signature in database
GPG key ID: D74C859E94CA6DDC

View file

@ -48,7 +48,8 @@ app.on("before-quit", () => {
isQuitting = true;
});
// Fixes circular dependency issues with export const
// Export a container object of objects that are used by other modules
// but won't be initialized at import time.
export const globals = {
tray: <null | Tray>null,
mainWin: <null | BrowserWindow>null