utils fix killing powershell (windows)

This commit is contained in:
Sebastian Hildebrandt 2023-01-10 08:09:51 +01:00
parent 8a6e5f9719
commit cc53d2d0d5
4 changed files with 8 additions and 2 deletions

View File

@ -82,6 +82,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page.
| Version | Date | Comment |
| ------- | ---------- | --------------------------------------------------------------------------------------------------- |
| 5.17.2 | 2023-01-10 | `utils` fix killing powershell (windows) |
| 5.17.1 | 2023-01-06 | `graphics()` positionX, positionY Ventura fix (max OS) |
| 5.17.0 | 2023-01-06 | `graphics()` added positionX, positionY (max OS) |
| 5.16.9 | 2022-12-27 | updated docs |

View File

@ -57,6 +57,11 @@
</tr>
</thead>
<tbody>
<tr>
<th scope="row">5.17.1</th>
<td>2023-01-06</td>
<td><span class="code">utils</span> fix killing powershell (windows)</td>
</tr>
<tr>
<th scope="row">5.17.1</th>
<td>2023-01-06</td>

View File

@ -170,7 +170,7 @@
<img class="logo" src="assets/logo.png" alt="logo">
<div class="title">systeminformation</div>
<div class="subtitle"><span id="typed"></span>&nbsp;</div>
<div class="version">New Version: <span id="version">5.17.1</span></div>
<div class="version">New Version: <span id="version">5.17.2</span></div>
<button class="btn btn-light" onclick="location.href='https://github.com/sebhildebrandt/systeminformation'">View on Github <i class=" fab fa-github"></i></button>
</div>
<div class="down">

View File

@ -414,7 +414,7 @@ function powerShellRelease() {
_psPersistent = false;
}
} catch (e) {
_psChild.kill();
if (_psChild) { _psChild.kill(); }
}
_psChild = null;
}