From 8f4755532ef1386ba031fdda774d9c7137f5569a Mon Sep 17 00:00:00 2001 From: flysand7 Date: Sun, 14 Jul 2024 15:28:37 +1100 Subject: [PATCH] [os2/process]: Adjust docs on process_close function --- core/os/os2/process.odin | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/os/os2/process.odin b/core/os/os2/process.odin index ecf9354b8..fb6766747 100644 --- a/core/os/os2/process.odin +++ b/core/os/os2/process.odin @@ -351,7 +351,8 @@ process_wait :: proc(process: Process, timeout := TIMEOUT_INFINITE) -> (Process_ This procedure closes the handle associated with a process. It **does not** terminate a process, in case it was running. In case a termination is - desired, kill the process first, then close the handle. + desired, kill the process first, wait for the process to finish, + then close the handle. */ process_close :: proc(process: Process) -> (Error) { return _process_close(process)