Don't save window stats after shutdown request
This commit is contained in:
parent
fc60a8b13d
commit
d8e32d39ff
2 changed files with 14 additions and 1 deletions
|
@ -20,3 +20,13 @@ export function markReadyForShutdown(): void {
|
|||
export function readyForShutdown(): boolean {
|
||||
return isReadyForShutdown;
|
||||
}
|
||||
|
||||
let hasRequestedShutdown = false;
|
||||
|
||||
export function markRequestedShutdown(): void {
|
||||
hasRequestedShutdown = true;
|
||||
}
|
||||
|
||||
export function requestedShutdown(): boolean {
|
||||
return hasRequestedShutdown;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue