fixed null for args in process handle

This commit is contained in:
2024-01-29 00:46:51 +01:00
parent e2ab296e79
commit c0741c48aa

View File

@@ -106,7 +106,7 @@ class ProcessHandle {
} }
public function get_args():ReadOnlyArray<String> { public function get_args():ReadOnlyArray<String> {
return this.config.args; return this.config.args != null ? this.config.args : [];
} }
public function claimTurtleMutex():Bool { public function claimTurtleMutex():Bool {