session-desktop/ts/node/window_state.ts
2022-03-30 07:37:00 +11:00

9 lines
162 B
TypeScript

let shouldQuitFlag = false;
export function windowMarkShouldQuit() {
shouldQuitFlag = true;
}
export function windowShouldQuit() {
return shouldQuitFlag;
}