fixed missing null check in ps handle

This commit is contained in:
Djeeberjr 2023-05-29 21:09:39 +02:00
parent 5985b0c8be
commit 563211af6f

View File

@ -49,7 +49,9 @@ class ProcessHandle {
} }
public function write(message: String): Void { public function write(message: String): Void {
this.config.onWrite.invoke(message); if (this.config.onWrite != null){
this.config.onWrite.invoke(message);
}
} }
public function writeLine(message: String): Void { public function writeLine(message: String): Void {