Small improvements
This commit is contained in:
parent
19502cb967
commit
5624e51f52
1 changed files with 82 additions and 225 deletions
|
|
@ -239,8 +239,7 @@ export class ServerControl {
|
|||
public isRunning(): boolean {
|
||||
const proc = this.process;
|
||||
return (
|
||||
proc !== null &&
|
||||
proc.pid !== undefined &&
|
||||
proc?.pid !== undefined &&
|
||||
proc.exitCode === null &&
|
||||
proc.signalCode === null
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue