Update startup.mjs
This commit is contained in:
parent
035b2e3ea7
commit
d6824f1b71
|
@ -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!');
|
||||
|
|
Loading…
Reference in New Issue