Crash render process when javascript won't execute

Prevents the renderer process staying up when the user scripts are
waiting for an unresolved promise.
This commit is contained in:
Martin Fournier
2021-12-23 07:27:25 -05:00
parent c056ef2854
commit ea03889082
2 changed files with 81 additions and 7 deletions

30
electron/exit.html Normal file
View File

@@ -0,0 +1,30 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<title>Bitburner</title>
<link rel="stylesheet" href="main.css" />
<style>
body {
background-color: black;
color: #0c0;
}
div {
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
h1 {
text-align: center;
}
</style>
</head>
<body>
<div>
<h1>Exiting ...</h1>
</div>
</body>
</html>