fixed missing null check in ps handle
This commit is contained in:
parent
5985b0c8be
commit
563211af6f
@ -49,8 +49,10 @@ class ProcessHandle {
|
||||
}
|
||||
|
||||
public function write(message: String): Void {
|
||||
if (this.config.onWrite != null){
|
||||
this.config.onWrite.invoke(message);
|
||||
}
|
||||
}
|
||||
|
||||
public function writeLine(message: String): Void {
|
||||
this.write(message + "\n");
|
||||
|
Loading…
Reference in New Issue
Block a user