updated docs, code cleanup

This commit is contained in:
Sebastian Hildebrandt
2026-01-11 20:43:13 +01:00
parent 547236e027
commit 6266f1ee94
5 changed files with 9 additions and 25 deletions
+1 -1
View File
@@ -435,13 +435,13 @@ function powerShellRelease() {
if (_psChild) {
_psChild.stdin.write('exit' + os.EOL);
_psChild.stdin.end();
_psPersistent = false;
}
} catch {
if (_psChild) {
_psChild.kill();
}
}
_psPersistent = false;
_psChild = null;
}