Update prettier to 3.3.3
This commit is contained in:
parent
1773ad1e11
commit
24a22bf191
109 changed files with 452 additions and 392 deletions
15
app/main.ts
15
app/main.ts
|
@ -2348,12 +2348,15 @@ async function requestShutdown() {
|
|||
// exits the app before we've set everything up in preload() (so the browser isn't
|
||||
// yet listening for these events), or if there are a whole lot of stacked-up tasks.
|
||||
// Note: two minutes is also our timeout for SQL tasks in data.js in the browser.
|
||||
timeout = setTimeout(() => {
|
||||
getLogger().error(
|
||||
'requestShutdown: Response never received; forcing shutdown.'
|
||||
);
|
||||
resolveFn();
|
||||
}, 2 * 60 * 1000);
|
||||
timeout = setTimeout(
|
||||
() => {
|
||||
getLogger().error(
|
||||
'requestShutdown: Response never received; forcing shutdown.'
|
||||
);
|
||||
resolveFn();
|
||||
},
|
||||
2 * 60 * 1000
|
||||
);
|
||||
});
|
||||
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue