Update startup.mjs

This commit is contained in:
Jorrin 2024-03-31 15:26:33 +02:00
parent 035b2e3ea7
commit d6824f1b71
1 changed files with 5 additions and 1 deletions

View File

@ -26,7 +26,11 @@ try {
});
} finally {
server.httpServer.close();
await browser.close();
try {
await browser.close();
} catch (e) {
console.error('Failed to close browser:', e);
}
}
console.log('Success!');