()
| 41 | } |
| 42 | |
| 43 | function scheduleWindowBoundsSave() { |
| 44 | if (saveWindowBoundsTimer) { |
| 45 | clearTimeout(saveWindowBoundsTimer) |
| 46 | } |
| 47 | |
| 48 | saveWindowBoundsTimer = setTimeout(() => { |
| 49 | saveWindowBoundsTimer = null |
| 50 | saveWindowBounds() |
| 51 | }, WINDOW_BOUNDS_SAVE_DELAY) |
| 52 | } |
| 53 | |
| 54 | function flushWindowBoundsSave() { |
| 55 | if (saveWindowBoundsTimer) { |
nothing calls this directly
no test coverage detected