fixed missing null check in ps handle
This commit is contained in:
parent
5985b0c8be
commit
563211af6f
@ -49,7 +49,9 @@ class ProcessHandle {
|
||||
}
|
||||
|
||||
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 {
|
||||
|
Loading…
Reference in New Issue
Block a user