()
| 966 | }, WINDOW_STATE_PERSIST_DELAY_MS) |
| 967 | } |
| 968 | const flushWindowStatePersist = () => { |
| 969 | if (persistWindowStateTimer) { |
| 970 | clearTimeout(persistWindowStateTimer) |
| 971 | persistWindowStateTimer = null |
| 972 | } |
| 973 | void persistWindowState(win) |
| 974 | } |
| 975 | |
| 976 | win.on('ready-to-show', () => { |
| 977 | recordMainPerf('main.window.ready-to-show', performance.now() - createWindowStartedAt, { |
nothing calls this directly
no test coverage detected